If the specified variable
was not included in the SAS invocation, the error message “NOTE:
Invalid argument to the function SYSGET” is generated and _ERROR_
is set to 1.
Although
z/OS does not
have native environment variables, you can use the SET option to define
environment variables that are valid in your SAS session. SYSGET lets
you retrieve these environment variables. If you are in interactive
mode, SYSGET returns CLIST parameters. If you are in line mode, SYSGET
returns the environment variables that are valid in your SAS session.