For the examples in this document, we disabled the date and time stamp from all output, and we disabled the Save Changes dialog box that appears by default when you exit a task window. We also use the same sample tables that were used in Getting Started with SAS/ASSIST. For convenience, we have reprinted here the instructions for disabling the date and time stamp, disabling the Save Changes dialog box, and creating the SAS/ASSIST sample tables and the AIRLINE sample tables.
|Removing the Date and Time Stamp from Your Output|
Deselect Print current date.
Note: This option is not applicable to graphics output and is not available on graphics task windows. Also, the date and time stamp are disabled for the duration of the current SAS session; they will be enabled the next time you invoke SAS.
|Disabling the Save Changes Dialog Box|
and press ENTER.
|Creating the SAS/ASSIST Sample Tables|
Select OK. The sample tables are created. Depending on your hardware and operating environment, this may take several minutes. When the process is complete, a message appears that indicates that all the tables were created.
Note: If you are re-creating sample tables (rather than creating them for the first time), and you attempt to re-create a table that is the currently active table in one or more SAS/ASSIST tasks, you get an error message. SAS/ASSIST software does not let you re-create an active table. To remove a table from active status, follow these steps:
|Creating the AIRLINE Sample Tables|
If you are using the z/OS operating environment, continue to step 2. Otherwise, create a library, directory, or folder, depending on your operating environment, where you want the AIRLINE sample tables to reside. You may name this library or directory anything you want, but the name sampltab is used in these examples. See the SAS companion for your operating environment, or contact the SAS Software Consultant at your site if you do not know how to perform this step.
Go to the Program Editor window by using the PREVWIND function key or by clicking on the window, depending on your operating environment. From the Program Editor window, follow this selection path:File Open object...The Open window appears with a list of available libraries in the left pane.
SAMPLSAS Source Code
You might need to scroll further down to find this line. This line is the LIBNAME statement that SAS software uses to assign a libref to a physical file or directory.
If you are using z/OS, continue to the next step. Otherwise, replace the information between the quotation marks (") with the name of the library or directory you created in step 1. Use the following table as a guide. Ensure that the name is enclosed in quotation marks and that a semicolon (;) is at the end of the line.
|z/OS||libname &library "userid.assist.sampltab";|
|Open VMS||libname &library "DEVICE:[SAMPLTAB]";|
|UNIX||libname &library "/u/userid/assist/sampltab";|
|Windows||libname &library "C:\assist\sampltab";|
Note: The Airline libref is assigned for the duration of your current SAS session only. The next time you invoke SAS and SAS/ASSIST software, you will need to assign the libref again. Alternatively, you can specify that the Airline libref be automatically defined, each time you invoke SAS, by assigning the libref in the SAS Explorer window. See the online help for the SAS Explorer window for details.