ms_testservice.sas File Reference

Will execute a SASjs web service on SASjs Server. More...

Go to the source code of this file.

Detailed Description

Prepares the input files and retrieves the resulting datasets from the response JSON.

Parameters
[in]programThe Stored Program endpoint to test
[in]inputfiles=(0)A list of space seperated fileref:filename pairs as follows: inputfiles=inref:filename inref2:filename2
[in]inputdatasets=(0) All datasets in this space seperated list are converted into SASJS-formatted CSVs (see mp_ds2csv.sas) files and added to the list of inputfiles for ingestion. The dataset will be sent with the same name (no need for a colon modifier).
[in]inputparams=(0)A dataset containing name/value pairs in the following format:
name:$32 value:$1000
stpmacname some value
mustbevalidname can be anything, oops, abort!!
[in]debug=(131) Provide the _debug value to pass to the STP
[in]mdebug=(0) Set to 1 to provide macro debugging (this macro)
[out]outlib=(0) Output libref to contain the final tables. Set to 0 if the service output is not in JSON format.
[out]outref=(0) Output fileref to create, to contain the full _webout response.
[out]outlogds=(null) Set to the name of a dataset to contain the log. Table format:
line:$2000
log line 1
log line 2

SAS Macros

Related Programs

  • mp_testservice.test.sas
Version
9.4
Author
Allan Bowe

Definition in file ms_testservice.sas.