Chapter Contents

Previous

Next
SAS Companion for the CMS Environment

Macro Variables


Portable Automatic Macro Variables That Have Host-Specific Values

The following automatic macro variables are portable, but their values are host-specific:

SYSDEVIC
contains the name of the current graphics device. The current graphics device is determined by the SAS system option DEVICE=. (See DEVICE=.) Ask your SAS Support Consultant which graphics devices are available at your site.

SYSENV
is provided for compatibility with the SAS System under other operating environments. Under CMS, its value is FORE when the TERMINAL system option is in effect; otherwise, its value is BACK. This is a read-only value.

SYSJOBID
gives the userid of the virtual machine that invoked the current SAS session.

SYSRC
contains the return code from the most recent operating environment command that was issued from within a SAS session.

SYSMAXLONG
returns the maximum long integer value allowed by CMS, which is 2,147,483,647.

SYSSCP
contains the operating environment abbreviation CMS.

SYSSCPL
contains the operating environment abbreviation VM/ESA. You cannot change the value of this variable.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.