Plain ASCII table output in SAS

The name of the option is something I frequently forget, mainly because I output mostly to other data sets or to other formats. However, sometimes you just want to be able to look at that .lst output without being distracted by the crap SAS puts in there.

Once again, I had to waste time looking for this bit of information. Luckily, there was a piece of SAS code in the bowels of my 300 GB $HOME directory, so I did not have to try to find the information in SAS’s help files.

The magic setting is:

options formchar='|----|+|---+=|-/\<>*';

Once you know that the option is called formchar, it is trivial to locate this in SAS Documentation, but until then, you’d be pulling your hair out in bunches.

Note also that I find

options pagesize=52 linesize=144;

useful if I am going to run the output through enscript or a2ps.