Currently I have a file in Access that I am trying to recreate in SAS.
At the moment the Access file has the same columns and counts etc as the SAS table I am able to create, the only issue is when I export to a .txt which Access does as well, it does not align properly.
Access Aligns like below (even when all/any variables are different lengths)
A bbbbbb ccccc dddd e f g hhhhhhh I JK
A bbbbbb ccccc dddd e f g hhhhhhh I JK
SAS Aligns like below (only the first 5 columns align)
A bbb ccc dd e f g hhhh I JK
A bbbbbb ccccc dddd e f g hhhhhhh I JK
But what confuses me is that the 3rd column variable is a counter n and there are thousands of lines, yet it still keeps its alignment and spaces out the same up until the 5th line.
I have formatted all of my variables using $10. etc so I know I have them set up correctly (to an extent)
I would like advice on how to make the .txt output similar to access since it get ingested into a system and has to have the columns strictly defined.
I am open to exporting as an excel or other format and making a few adjustments to make it look delimited by spacing or something. Currently I have tried to test it but my huge macros do not make outputting new large code easy.
Anything would be appreciated - thanks