Production Ready Macros for SAS Application Developers 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.


mm_updatestpsourcecode(stp=/my/metadata/path/mystpname ,stpcode="/file/system/")

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
Allan Bowe

Definition in file