SAS supports StartSAS commands from the 8th edition, but it helps to introduce it to its related knowledge, and run the command, whether it is a trial function in the 8th edition or 9 editions. The use of this function may result in unexpected results. Let me concentrate on this guy's specific usage. First, its role is to open a SAS thread, avoid the expenses caused by the process.
1. The simplest use is: StartSAS DMS; or StartSAS DMS NoExplorer; you need to note that do not use StartSAS; line mode is not supported, only from batch submission, when applying this command 2. Direct submission to order Current thread StartSAS DMS NoExplorer Ls = min initstmt = "SAS command string"; StartSAS DMS NoExplorer Skip = min initstmt = "SAS command string"; note that the length of the SAS command string is limited, in my machine is 4000 Multiple Byte SAS has such a command to abort the current SAS thread, as follows: Endsas; So, it is recommended to add this command endsas after the command string; 3. If you don't want to submit the command directly, I want to submit the file, Startsas is also supported. , The SASSTART SYSIN = "SAS file" SAS option; the SAS option can be any option available when starting SAS, such as log print nolog, etc., tell so much, is it enough? Oh, it is obvious enough, but only tells us how to start the SAS thread, haven't told how to end the SAS thread OK, Go ON! After starting the SAS thread, the SAS process will write the thread ID to the SysStartID macro SAS provides the following command. Support for the launch of the SAS thread Problem 1, BYE | Endsas Command ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -------------------------------------------- End SAS process; if not Other SAS procedures are running, then end SAS sessions. Category: Window Management -------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------- Syntax BYE Endsas <_all_ | all>