Name
|
Value
|
---|---|
SYSDATE
|
the date of the SAS
invocation (DATE7.)
|
SYSDATE9
|
the date of the SAS
invocation (DATE9.)
|
SYSDAY
|
the day of the week
of the SAS invocation
|
SYSTIME
|
the time of the SAS
invocation
|
SYSENV
|
FORE (interactive execution)
or BACK (noninteractive or batch execution)
|
SYSSCP
|
an abbreviation for
the operating system that is being used, such as WIN or LINUX
|
SYSVER
|
the release of SAS that
is being used
|
SYSJOBID
|
an identifier for the
current SAS session or for the current batch job (the user ID or job
name for mainframe systems, the process ID (PID) for other systems)
|
Name
|
Value
|
---|---|
SYSLAST
|
the name of the most
recently created SAS data set, in the form LIBREF.NAME. This value
is always stored in all capital letters. If no data set has been
created, the value is _NULL_
Note: Throughout this book, the
keyword _NULL_ is often used in place of the data set name in sample
programs. Using _NULL_ suppresses the creation of an output data set.
Using _NULL_ when benchmarking enables you to determine what resources
are used to read a SAS data set.
|
SYSPARM
|
text that is specified
when SAS is invoked
|
SYSERR
|
contains a return code
status that is set by the DATA step and some SAS procedures to indicate
whether the step or procedure executed successfully
|
footnote1 "Created &systime &sysday, &sysdate9"; footnote2 "on the &sysscp system using Release &sysver"; title "REVENUES FOR DALLAS TRAINING CENTER"; proc tabulate data=sasuser.all(keep=location course_title fee); where upcase(location)="DALLAS"; class course_title; var fee; table course_title=" " all="TOTALS", fee=" "*(n*f=3. sum*f=dollar10.) / rts=30 box="COURSE"; run;