How SAS Processes Stored Compiled DATA Step Programs


You first compile the SAS source program and store the compiled code. Then you execute the compiled code, redirecting the input and output as necessary.

SAS processes the DATA step through the compilation phase and then stores an intermediate code representation of the program and associated data tables in a SAS file. SAS processes the intermediate code when it executes the stored program. The following figure shows the process for creating a stored compiled DATA step program.

click to expand
Figure 30.1: Creating a Stored Compiled Program

When SAS executes the stored program, it resolves the intermediate code produced by the compiler and generates the executable machine code for that operating environment. The following figure shows the process for executing a stored compiled DATA step program.

click to expand
Figure 30.2: Executing a Stored Compiled Program

To move, copy, rename, or delete stored programs, use the DATASETS procedure or the utility windows in your windowing environment.




SAS 9.1.3 Language Reference. Concepts
SAS 9.1.3 Language Reference: Concepts, Third Edition, Volumes 1 and 2
ISBN: 1590478401
EAN: 2147483647
Year: 2004
Pages: 258

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net