SAS 9.1 Companion For Unix Enivronments

Automatic Macro Variables in UNIX Environments

The following automatic macro variables are valid in all operating environments, but their values are determined by the operating environment:

SYSCC

SYSDEVIC

SYSENV

SYSJOBID

SYSMAXLONG

SYSRC

Output 14.1: Sample SYSRC Values

1? x 'data'; /bin/ksh: data: not found 2? %put UNIX exit status code is &sysrc; UNIX exit status code is 256 3? x 'date'; Tue Mar 19 09:41:27 CST 2003 4? %put UNIX exit status code is now &sysrc; UNIX exit status code is now 0

 

SYSSCP

SYSSCPL

Категории