![]() |
Macros for SAS Application Developers
https://github.com/sasjs/core |
Triggers a SASjs Server STP using the /SASjsApi/stp/trigger endpoint. More...
Go to the source code of this file.
Triggers the STP and returns the sessionId
Example:
%ms_triggerstp(/some/stored/program ,debug=131 ,outds=work.myresults )
[in] | pgm | The full path to the Stored Program in SASjs Drive (_program parameter) | |||||||||
[in] | debug= | (131) The value to supply to the _debug URL parameter | |||||||||
[in] | mdebug= | (0) Set to 1 to enable DEBUG messages | |||||||||
[in] | inputparams=(_null_) | A dataset containing name/value pairs in the following format:
| |||||||||
[in] | inputfiles= | (null) A dataset containing fileref/name/filename in the following format:
| |||||||||
[in] | expiresaftermins= | (15) The number of minutes to retain the session folder after the session ends. | |||||||||
[out] | outds= | (work.ms_triggerstp) Set to the name of a dataset to contain the sessionId. If this dataset already exists, and contains the sessionId, it will be appended to. Format:
|
Definition in file ms_triggerstp.sas.