![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS Companion for the OpenVMS Environment |
| KEYDEF key-name | 'key-name' <'definition'>; |
| %SYSEXEC <DCL-command>; |
The %SYSEXEC statement is similar to the X statement, which is described in Issuing DCL Commands during a SAS Session. You can use the %SYSEXEC statement either inside a macro or in open code.
Omitting DCL-command puts you in an interactive OpenVMS subprocess and sets the value of
the
SYSRC automatic variable to 0. To return to your SAS session, type
LOGOFF at the subprocess prompt.
The following is an example of %SYSEXEC:
%sysexec show time;The output looks something like this:
12-JAN-1998 16:02:52
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.