Chapter Contents |
Previous |
Next |
SAS Companion for the OpenVMS Operating Environment |
The following DCL command procedure file, DETACH.COM, invokes SAS with the SAS windowing environment interface in a detached process. (The numbered lines are explained following the code.)
$! DETACH.COM $ SET NOON [1]$ DEFINE SYS$LOGIN DISK:[HOMEDIR] $ SET DEFAULT SYS$LOGIN $ @SYS$LOGIN:LOGIN.COM $ DEFINE SAS$NET_TYPE XCLIENT [2]$ @DUA1:[SAS8.TOOLS]SAS8.COM $ SAS8:==$SAS$ROOT:[IMAGE]SAS8.EXE $ SAS8/DMS $ EXIT
DISK:[HOMEDIR]
with your
own disk.
DUA1:[SAS8.TOOLS]
with
your own location for the SAS System. Leave
SAS8.COM
as it is. (The SAS8.COM file defines OpenVMS logical
names that the SAS System uses. For more information about the SAS8.COM file,
see OpenVMS Logical Names That SAS Uses.)
To execute the DETACH.COM file, you would use a command like the following:
$ RUN/DETACHED/INPUT=DETACH.COM- _$ /OUTPUT=DETACH.LOG- _$ SYS$SYSTEM:LOGINOUT.EXE
Note: If your LOGIN.COM does
not include a SET DISPLAY command, you must include one in your DCL command
procedure.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.