Chapter Contents

Previous

Next
INITCMD

INITCMD



Suppresses the Log, Output, and Program Editor windows when you enter a SAS/AF application

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>"

Syntax Description

command-1
specifies any SAS command; the first command in this list must be a command that invokes a window. Some valid values are:
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.

< DM-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 may delay or prohibit processing.
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:

INITCMD has the same precedence as all other SAS execution mode invocation options. 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 on invocation option precedence.


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.