|
|
|
||||||
|
Getting SAS to print a printable PostScript file.Due to the fact that the export to PostScript menu item creates unprintable color garbage, we recommend either exportting to a gif file and then converting it using xv, or use the following code fragment before going into SAS/GRAPH to set it to print to a PostScript file. (In this example the file will be called a.ps, and will be placed in the directory from which SAS was started.) filename fref 'a.ps'; After typing this when you select print from the GRAPH window it will print to the file specified. Transferring SAS data sets from the PC to the Macintosh.(This should also work for Unix to something else.) Suppose we have a SAS data set, Mike.ssd in the folder Rosssas on the A drive of the PC. Step 1 - Open SAS on the PC. Create the transport file. libname oldlib 'a:\rosssas\'; This creates a transport text file called flig on the A drive. It is not in a folder. Step 2 - On the Macintosh, drag the file flig from the PC disk into the SAS folder. (SAS on the Mac will not recognize the PC disk as part of a path name, although it will recognize a Mac disk). Step 3 - Open SAS on the Mac. Convert the transport file to a SAS data set. Note that the transport file remembers the name of the SAS data set is mike. The name flig is just an intermediate name that is used for the transport file but does not relate to the naming of the SAS data set. Put the SAS data set in the folder ross. libname hostlib 'Macintosh HD:SAS612:ross'; Running SAS in the background.If file.sas is the file with sas commands: (Don't forget to renice!) sas file.sas & You might want to include a linesize command at the top of file.sas so the output is easily read. eg: options linesize=78; |
|
If you have trouble accessing this page, or need an alternate format contact webmaster@stat.osu.edu. |