SAS System Options |
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 <windowing-command-n>" |
specifies any SAS command that invokes an application window. Some valid values are:
AF | LAB |
ANALYST | MINER |
ASSIST | PHCLINICAL |
DESIGN | PHKINETICS |
EIS | PROJMAN |
FORECAST | QUERY |
GRAPH | RUNEIS |
HELP | SQC |
IMAGE | XADX. |
Interaction: | If you specify FORECAST for command-1, you cannot use windowing-command-n. |
specifies a valid windowing command or text editor command. Separate multiple commands with semicolons. These commands are processed in sequence. If you use a windowing command that impacts flow, such as the BYE command, it might delay or prohibit processing.
Details |
The INITCMD system option suppresses the Log, Output, Program Editor, and Explorer windows when SAS starts so that application window is the first screen that 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, in order, have precedence over this option:
If you specify INITCMD with another execution mode invocation option of equal precedence, SAS uses only the last option listed. See Order of Precedence for more information about invocation option precedence.
Examples |
INITCMD "AFA c=mylib.myapp.primary.frame dsname=a.b" INITCMD "ASSIST; FSVIEW SASUSER.CLASS"
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.