This statement just creates a line break. I tried to execute the code without it and the problem was still here.
Since you are using pointer control there is no way that the semi-colon will NOT be at position 494.
If it looks like it is somewhere else then whatever tool you are using to view the file is doing some. Is it possible some of the values in your data are using UTF-8 codes that require multiple bytes per character?
Do you want a fixed column file? if so then why are you wasting space by writing the semi-colons?
If you want a delimited file when why do you care what column the data appears in rater then the relative field number when counting the delimiters?
I understand it doesn't make sense but I need both.
I use bloc-note to view the file. I will try an another tool to see if I get a different display.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.