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

Writes the code of an to an external file, or the log if none provided. More...

Go to the source code of this file.

Detailed Description

Get the

usage:

%mm_getstpcode(tree=/some/meta/path
  ,name=someSTP
  ,outloc=/some/unquoted/filename.ext
)
Parameters
tree=The metadata path of the Stored Process (can also contain name)
name=Stored Process name. Leave blank if included above.
outloc=full and unquoted path to the desired text file. This will be overwritten if it already exists. If not provided, the code will be written to the log.
Author
Allan Bowe

Definition in file mm_getstpcode.sas.