Here are some tips for How to share your SAS knowledge with your professional network.
Using SYSPARM and Other Automatic SAS Variables
About this paper
This paper primarily reviews the BASE SAS® SYSPARM automatic variable, what it is, how it is used, and provides examples for using it to conditionally execute SAS code. Use of SYSPARM can prove very useful in production type SAS jobs that must have the same conditional information updated with each execution by reducing the updates to the source code. SYSPARM can be updated before execution, accessed in a SAS program, and also be updated in the SAS program.
In addition, this paper briefly reviews other selected automatic variables that are created at SAS session invocation. These are SYSJOBID, SYSUID, SYSUSERID, SYSDAY, SYSDATE, SYSDATE9, SYSTIME, SYSSCP, SYSSCPL, SYSVER, and SYSVLONG. Unlike SYSPARM, these are read-only variables.
When was it presented and where?
- SCSUG 2007, Austin, TX
- NOTSUG May 2008 meeting, Dallas, TX
Download the paper and power point presentation
Read the paper Media:SYSPARM_paper-Jackson.pdf
View the powerpoint in pdf format Media:SAS_SYSPARM-notsug.pdf
Clarence Wm. Jackson, CSQA User:CJac