%mdlmgr_SetProperty Macro Function

Sets project properties in the model repository

Syntax

Required Arguments

FolderId=folder-UUID-or-path

specifies the project folder UUID or path.

To add a project property, you can use &project-Id-variable that is set for the NewProjectId= argument in the %mdlmgr_AddProject( ) macro as the value of project-folder-UUID-or-path. For example, if NewProjectId=projectId, then you can specify FolderId=&projectId.
To add a version property, you can use &version-Id-variable that is set for the NewVersionId= argument in the %mdlmgr_AddVersion( ) macro as the value of project-folder-UUID-or-path. For example, if NewVersionId=versionId, then you can specify FolderId=&versionId.

Table=property-value-data-set

specifies the data set that contain the properties to set. property-value-table-name must be in the form libref.data-set.

See Creating the Properties Table

PropertyType=System | User

specifies whether the property is a SAS Model Manager property or if the property is user-defined. Specify system for all SAS Model Manager properties.

Default System

FolderType=folder-type

specifies the folder type for the properties that are being set. If FolderId is a UUID, this argument is optional. The valid value for folder-type is Project.

Optional Argument

Trace=On | Off

specifies whether to supply verbose trace messages to the SAS log.

Default Off
Last updated: February 14, 2017