Chapter Contents |
Previous |
Next |
INITCMD |
Valid in: | configuration file, SAS invocation |
Category: | Environment control: Initialization and operation |
PROC OPTIONS GROUP= | EXECMODES |
Syntax | |
Syntax Description | |
Details | |
Examples |
Syntax |
INITCMD "command-1 <DM-command-n>" |
AFA | LAB |
AF | PHCLINICAL |
ASSIST | PHKINETICS |
DESIGN | PROJMAN |
EIS | QUERY |
FORECAST | RUNEIS |
HELP | SQC |
IMAGE | XADX. |
Restriction: | SAS/AF applications may not be available or licensed at all sites. |
Interaction: | If you specify FORECAST for command-1, you cannot use DM-command-n. |
Restriction: | Do not use the DM-command-n argument when you enter a SAS/AF application that submits SAS statements or commands during initialization of the application, that is, during autoexec file initialization. |
Details |
The INITCMD system option suppresses the Log, Output, Program Editor, and Explorer windows when you enter a SAS/AF application, so that the SAS/AF application is the first screen you see. The suppressed windows do not appear, but you can activate them. You can use the ALTLOG option to direct log output for viewing. If windows are initiated by an autoexec file or the INITSTMT option, the window that is displayed by the INITCMD option is displayed last. When you exit an application that is invoked with the INITCMD option, your SAS session ends.
You can use the INITCMD option in a windowing environment only. Otherwise, the option is ignored and a warning message is issued. If command-1 is not a valid command, the option is ignored and a warning message is issued.
The following SAS execution mode invocation options have precedence over this option:
Examples |
INITCMD "AFA c=mylib.myapp.primary.frame dsname=a.b" INITCMD "ASSIST; FSVIEW SASUSER.CLASS"
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.