%RMDMPATH

%RMDMPATH Overview

%RMDMPATH modifies the root paths that are associated with the pathnames for SAS libraries in the IT data mart.

%RMDMPATH Macro Syntax

%RMDMPATH(
DATAMART=name of the IT data mart to use
,METAPASS=password for the metauser
,METAPORT=service or port for the metadata server
,METASERVER=host-name or IP address for the metadata server
,METAUSER=user ID for metadata server access and definition
,NEW_ROOTPATH=new root path value
,OLD_ROOTPATH=old root path that will be renamed
<,DEFAULT_ ROOTPATH =YES | NO>
<,DOREPORT=YES | NO>
<,DORENAMES=YES | NO>
<,REPOS=Foundation | metadata repository>
<,_RC=macro variable name to hold return code>
);

%RMDMPATH Required Arguments

DATAMART=name of the IT data mart to use

specifies the name of the IT data mart. A value for this parameter is required.

METAPASS=password for the metauser

specifies the password to use for connecting the user ID to the metadata server. A value for this parameter is required.

METAPORT=service or port for the metadata server

specifies the TCP/IP service name or port number that the metadata server is listening on. A value for this parameter is required.

METASERVER=host-name or IP address for the metadata server

specifies the host name or TCP/IP address of the metadata server.

METAUSER=user ID for metadata server access and definition

specifies the user ID for accessing the metadata server. A value for this parameter is required. For more information, see the SAS 9.4 Intelligence Platform: System Administration Guide.

NEW_ROOTPATH=new root path value

specifies the new root path value that replaces the old root path value in all of the pathnames for SAS libraries. A value for this case-sensitive parameter is required.

OLD_ROOTPATH=old root path that will be renamed

specifies the old root path value that will be renamed. This parameter is matched with the pathnames of all SAS libraries in the IT data mart, starting in column 1 of the pathname. A value for this case-sensitive parameter is required.

%RMDMPATH Optional Parameters

DEFAULT_ROOTPATH =YES | NO

specifies that the default root path associated with the IT data mart will be renamed in addition to the pathnames associated with SAS libraries. A value for this parameter is optional. The default value for this parameter is YES.

DORENAMES=YES | NO

specifies that the SAS libraries will be renamed. A value for this parameter is optional. The default value for this parameter is NO.

DOREPORT=YES | NO

specifies that a report is produced that details what SAS libraries were renamed. A value for this parameter is optional. The default value for this parameter is YES.

REPOS=Foundation | metadata repository

specifies the metadata repository that contains the IT data mart. A value for this parameter is optional. The default value for this parameter is Foundation.

Note: IT data marts are created in the Foundation repository by default, but they can also be created in other repositories.

_RC=macro variable name to hold return code

specifies the name of a macro variable that holds the value of the return code from the execution of this macro. A value for this parameter is optional. This parameter is not case-sensitive.