Translates a specified SAS Model Manager UUID to a URL-style path address and sets the URL as the value of the _MM_URL and _MM_ResourcesURL macro variables.
specifies the UUID of the object for which an URL is desired. A SAS Model Manager UUID is a 36-character string that identifies a single object in the SAS Model Manager model repository. The ID argument is required.
Example | ID=cca1ab08-0a28-0e97-0051-0e3991080867 |
specifies whether to supply verbose trace messages to the SAS log.
Default | OFF |
Example | Trace=on |
/***************************************************/ /* Get the URL for the location of a model. */ /****************************************************/ Options nomlogic nomprint nospool; /****************************************************/ /* Get the Model Management macro code. */ /***************************************************/ FILENAME MMAccess catalog 'sashelp.modelmgr.accessmacros.source'; %include MMAccess; /***************************************************/ /* Set to detect failure in case macro load fails */ /* and get the URL. */ /***************************************************/ %let _MM_RC= -1; %let target=aef7a78e-0a28-0e97-01c0-b8a0e5ba15c7; %MM_GetURL(ID=&target,Trace=on); %put _MM_URL=&_MM_URL; %put _MM_ResourcesURL=&_MM_ResourcesURL;