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.