Option InitStmt

From sasCommunity
Jump to: navigation, search

Option InitStmnt

  • Description

This option executes the statement(s) in its argument after the autoexec and before sas begins reading SysIn.

  • Usage in a batch file

Windows; note the double percent signs.

sas MyProgram -initstmt '%%Include "PassInfx.sas";'
  • Usage in a configuration file
-initstmt '%Include "PassInfx.sas";'

See also:

Saving Job Time, called by option TermStmt (Saving Job Time)

PassInfx: PassInfX Writing Info to Log with InitStmt

--macro maven == the radical programmer 09:42, 14 August 2007 (EDT)