the path to the file being submitted for execution.
an array of code lines to execute.
the context to execute the code in.
an object containing an access token, refresh token, client ID and secret.
execution data.
when set to true, the log will be returned.
when set to true, the automatic _webout fileref will be checked for content, and that content returned. This fileref is used when the Job contains a SASjs web request (as opposed to executing arbitrary SAS code).
when set to true, function will return the session
an object that represents poll interval(milliseconds) and maximum amount of attempts. Object example: { MAX_POLL_COUNT: 24 * 60 * 60, POLL_INTERVAL: 1000 }.
a boolean that indicates whether the function should print (PID) of the started job.
an object that represents macro variables.
Appends logs to a supplied write stream. This is useful for getting quick feedback on longer running jobs.
the job to fetch logs for
the pre-configured HTTP request client
the line at which to start fetching the log
the line at which to stop fetching the log
the write stream to which the log is appended
Uploads tables to SAS as specially formatted CSVs. This is more compact than JSON, and easier to read within SAS.
the pre-configured HTTP request client
the JSON representation of the data to be uploaded
an optional access token for authentication/authorization The access token is not required when uploading tables from the browser.
Generated using TypeDoc
Executes code on the current SAS Viya server.