Sample programs, written by SAS Institute are available on the mainframe systems and the distribution media provided for personal systems.
extra sas607You can then use the MACLIST command to display a list of the sample program files in one of these libraries, e.g., to view a list of SAS/BASE sample programs, enter "MACLIST SAMPBASE". Move the cursor in front of a file of interest and press PF11. If you would like to keep a copy for test execution, from the command line, enter "FILE filename SAS A" where filename you would like to assign to the saved program file. You can now execute it as you would any other VM SAS program file.
Computing Center example programs are also available on the COURSES disk of VTVM1. To access these files, enter the command:
ldisk courses
Note the disk address letter which is displayed when this disk is accessed. Assuming it were accessed as D, you could use the following command to display a list of the SAS files it contains:
FL * sas* D
User Services
Virginia Tech Computing Center
Last updated: February 14, 1997