Invoking SASAF Applications Automatically


Invoking SAS/AF Applications Automatically

SAS provides a system option, INITCMD, that lets you invoke SAS/AF programs automatically. When you use this option, SAS does not create the PROGRAM EDITOR, LOG, or OUTPUT windows but instead runs the SAS/AF applications and windowing environment commands that you specify.

The general syntax of the INITCMD option is:

  • -INITCMD af-command < DM-command-1 DM-command-n >

where af-command is a command to start an AF application, and DM-command-1 through DM-command-n are any windowing environment commands.

For example, the following option specification starts a SAS/AF application and loads a custom tool bar:

 -initcmd "AF c=mylib.myapp.myfirst.frame;    toolload bar mylib.myapp.profile.toolbox" 

For more information about the INITCMD system option, see SAS Language Reference: Dictionary .




SAS 9.1 Companion for Windows
SAS 9.1 Companion for Windows (2 Volumes)
ISBN: 1590472004
EAN: 2147483647
Year: 2004
Pages: 187

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net