Macros for SAS Application Developers
No Matches File Reference

Fetches code from Viya Job, SAS 9 STP, or SASjs Server STP. More...

Go to the source code of this file.

Detailed Description

When building applications that run on multiple flavours of SAS, it is convenient to use a single macro (like this one) to fetch the source code from a Viya Job, SAS 9 Stored Process, or SASjs Stored Program.

The alternative would be to compile a generic macro in target-specific folders (SASVIYA, SAS9 and SASJS). This avoids compiling unnecessary macros at the expense of a more complex sasjsconfig.json setup.

[in]locThe full path to the Viya Job, SAS 9 Stored Process or SASjs Stored Program in Drive or Metadata, WITHOUT the .sas extension (SASjs only)
[out]outref=(0) The fileref to create, which will contain the source code.

SAS Macros

Allan Bowe

Definition in file