Chapter Contents

Previous

Next
INITSTMT=

INITSTMT=



Specifies a SAS statement to be executed after any statements in the autoexec file and before any statements from the SYSIN= file

Valid in: configuration file, SAS invocation
Alias: IS=
Category: Environment control: Initialization and operation
PROC OPTIONS GROUP= EXECMODES


Syntax
Syntax Description

Syntax

INITSTMT='statement'

Syntax Description

'statement'
specifies any SAS statement or statements.

Operating Environment Information:   The syntax that is shown here applies to the OPTIONS statement. On the command line or in a configuration file, the syntax is specific to your operating environment. For details, see the SAS documentation for your operating environment.  [cautionend]

Here is an example of using this option on UNIX:

sas -initstmt '%put you have used the initstmt; data x; x=1;
   run;'
Here is an example of using this option on CMS:
sas (initstmt '%put you have used the initstmt; data x; x=1;
   run;'

Note:   The SYSIN= system option might not be supported your operating environment. See the SAS documentation for your operating environment for more information.   [cautionend]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.