|
Macros for SAS Application Developers
https://github.com/sasjs/core |
Executes a SASjs Server Stored Program. More...
Go to the source code of this file.
Runs a Stored Program (using POST method) and extracts the webout and log from the response JSON.
Example:
%ms_runstp(/some/stored/program ,debug=131 ,outref=weboot )
| [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:
| |||||||||
| [out] | outref= | (outweb) The output fileref to contain the response JSON (will be created using temp engine) | |||||||||
| [out] | outlogds= | (null) Set to the name of a dataset to contain the log. Table format:
|
Definition in file ms_runstp.sas.