Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
mm_updatestpsourcecode.sas File Reference

Update the source code of a type 2 STP. More...

Go to the source code of this file.

Detailed Description

Uploads the contents of a text file or fileref to an existing type 2 STP. A type 2 STP has its source code saved in metadata.

Usage:

%mm_updatestpsourcecode(stp=/my/metadata/path/mystpname
  ,stpcode="/file/system/source.sas")
Parameters
[in]stp=the BIP Tree folder path plus Stored Process Name
[in]stpcode=the source file (or fileref) containing the SAS code to load into the stp. For multiple files, they should simply be concatenated first.
[in]minify=set to YES in order to strip comments, blank lines, and CRLFs.
frefin=deprecated - a unique fileref is now always used
frefout=deprecated - a unique fileref is now always used
mDebug=set to 1 to show debug messages in the log
Version
9.3
Author
Allan Bowe

SAS Macros

Definition in file mm_updatestpsourcecode.sas.