Production Ready Macros for SAS Application Developers File Reference

Create an Application object in a metadata folder. More...

Go to the source code of this file.

Detailed Description

Application objects are useful for storing properties in metadata. This macro is idempotent - it will not create an object with the same name in the same location, twice.


%mm_createapplication(tree=/User Folders/sasdemo
  ,params= name1=value1
application components do not get deleted when removing the container folder! be sure you have the administrative priviliges to remove this kind of metadata from the SMC plugin (or be ready to do to so programmatically).


tree=The metadata folder uri, or the metadata path, in which to create the object. This must exist.
name=Application object name. Avoid spaces.
ClassIdentifier=the class of applications to which this app belongs
params=name=value pairs which will become public properties of the application object. These are delimited using 
 (newline character)
desc=Application description (optional). Avoid ampersands as these are illegal characters (unless they are escapted- eg &)
version=version number of application
frefin=fileref to use (enables change if there is a conflict). The filerefs are left open, to enable inspection after running the macro (or importing into an xmlmap if needed).
frefout=fileref to use (enables change if there is a conflict)
mDebug=set to 1 to show debug messages in the log
Allan Bowe

Definition in file