SAS application external execution configuration

zhaozj2021-02-16  52

1. Mainly consisting of a configuration file and an external SAS file

The configuration file is configured to configure some parameter information, facilitate the program to get the SAS file to perform some initialization action, specify from the configuration file, can also be named the autoeexec.sas configuration file can be used in the command -set city d: / report --Set City D: / report - Autoexec! City / AutoExec.sas (Specifies the Auto Performable File Name) -initcmd 'AF Catalog = City.city.main.frame' (Command Declaration after the Initialization) is -awstitle "PowerViewer Session Clear Program" (Specify window title) -rsuser -nodmsexp (Some Options) Get the SET variable of the configuration file in the SAS file:! varName; such as libName crlibp "! crlibp"; 2. Get the SET variable of the configuration file in SCL Symget, such as if symget ("SYSSCP") = "WIN" THEN DO; PUT "WIN"; T = Substr (Pathname ("scann"), 1); PUT T =; Call Symput ("scann", Substr (Pathname ("Scann"), 4)); T = Substr (Pathname ("Timeoutn"), 1); PUT T =

转载请注明原文地址:https://www.9cbs.com/read-21209.html

New Post(0)