|
Macros for SAS Application Developers
https://github.com/sasjs/core |
Fetches code from Viya Job, SAS 9 STP, or SASjs Server STP. More...
Go to the source code of this file.
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] | loc | The 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. |
Definition in file mx_getcode.sas.