search for: mysas

Displaying 1 result from an estimated 1 matches for "mysas".

Did you mean: mydas
2011 Oct 27
1
minimizing device-dependent code in graphics scripts
...*no* device-dependent code in .sas files, but instead use a collection of device-independent macros that respond to a global macro variable, DEVTYP. On linux, a custom (perl) script sets this as an environment variable used by these macros, so I can run test.sas at the command line via % alias s=mysas % s -b -d eps test % s -d pdf test % s -v -d png test and get test1.eps, test2.eps, ... etc. where the basename of the image files is automatically set to something like 'test%01d'. The -v option opens each of the generated graphics files in an appropriate viewer (gs, display, xpdf, etc...