Production Ready Macros for SAS Application Developers File Reference

Extract the source code from a SAS Viya Job. More...

Go to the source code of this file.

Detailed Description

Extracts the SAS code from a Job into a fileref or physical file. Example:

[in]access_token_var=The global macro variable to contain the access token
[in]grant_type=valid values: password authorization_code detect - will check if access_token exists, if not will use sas_services if a SASStudioV session else authorization_code. Default option. sas_services - will use oauth_bearer=sas_services
[in]path=The SAS Drive path of the job
[in]name=The name of the job
[out]outref=A fileref to which to write the source code
[out]outfile=A file to which to write the source code
VIYA V.03.04
Allan Bowe, source:

SAS Macros

Definition in file