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
stp=the BIP Tree folder path plus Stored Process Name
stpcode=the source file (or fileref) containing the SAS code to load into the stp. For multiple files, they should simply be concatenated first.
minify=set to YES in order to strip comments, blank lines, and CRLFs.
frefin=change default inref if it clashes with an existing one
frefout=change default outref if it clashes with an existing one
mDebug=set to 1 to show debug messages in the log
Version
9.3
Author
Allan Bowe

Definition in file mm_updatestpsourcecode.sas.