In the following example SAS is asked to create a data set named anxiety after reading the data steps. The data are embedded within the SAS program. The next two variables exp and school have a width of 1 column each and start in column 4. The example below illustrates the above data set being read by SAS from an external file named clas.dat stored in the same directory. Comments are provided for documentation purposes.
Several items are to be reversed in scoring.
Selecting a mode of execution to run your SAS job depends on the type of job you run, and the system you work with. Because Unix operating systems are multitasking systems, you can run various processes at the same time. For example, you can have one process running in the foreground and several in the background. A foreground process executes while you wait. The terminal cannot be used while the job is running.