Command Reference > infacmd dis Command Reference > tag
  

tag

Assigns tags to design-time objects.
Tags are metadata that defines an object in the Model Repository service. Query the objects and specify the tags to group objects according to their business usage. If you reassign a tag to an object, the command will overwrite the existing tag.
The infacmd dis tag command uses the following syntax:
tag
<-DomainName|-dn> domain_name

<-ServiceName|-sn> DIS_service_name

<-UserName|-un> DIS_user_name

<-Password|-pd> DIS_password

[<-SecurityDomain|-sdn> DIS_security_domain]

<-RepositoryService|-rs> MRS_service_name

<-RepositoryUserName|-rsun> MRS_user_name

<-RepositoryPassword|-rspd> MRS_password

[<-RepositorySecurityDomain|-rssdn> MRS_security_domain]

<-Query|-q> Query

<-TagName|-tn> tag_name

[<-TagDescription|-td> tag_description]

[<-TimeZone|-tz> time_zone]
The following table describes infacmd dis tag options and arguments:
Option
Argument
Description
-DomainName
-dn
domain_name
Required. Name of the Informatica domain. You can set the domain name with the -dn option or the environment variable INFA_DEFAULT_DOMAIN. If you set a domain name with both methods, the -dn option takes precedence.
-ServiceName
-sn
DIS_service_name
Required. Name of the Data Integration Service.
-UserName
-un
DIS_user_name
Required if the domain uses Native or LDAP authentication. User name to connect to the domain. You can set the user name with the -un option or the environment variable INFA_DEFAULT_DOMAIN_USER. If you set a user name with both methods, the -un option takes precedence.
-Password
-pd
DIS_password
Required if you specify the user name. Password for the user name. The password is case sensitive. You can set a password with the -pd option or the environment variable INFA_DEFAULT_DOMAIN_PASSWORD. If you set a password with both methods, the password set with the -pd option takes precedence.
-SecurityDomain
-sdn
DIS_security_domain
Required if the domain uses LDAP authentication. Optional if the domain uses native authentication. Name of the security domain to which the domain user belongs. You can set a security domain with the -sdn option or the environment variable INFA_DEFAULT_SECURITY_DOMAIN. If you set a security domain name with both methods, the -sdn option takes precedence. The security domain name is case sensitive.
If the domain uses native or LDAP authentication, the default is Native.
RepositoryService
-rs
MRS_service_name
Required. Name of the Model Repository Service.
-RepositoryUserName
-rsun
MRS_user_name
Required if the domain uses Native or LDAP authentication. User name to connect to the domain. You can set the user name with the -rsun option or the environment variable INFA_REPOSITORY_USER. If you set a user name with both methods, the -rsun option takes precedence.
-RepositoryPassword
-rspd
MRS_password
Required if you specify the user name. Password for the user name. The password is case sensitive. You can set a password with the -rspd option or the environment variable INFA_REPOSITORY_PASSWORD. If you set a password with both methods, the password set with the -rspd option takes precedence.
RepositorySecurityDomain
-rssdn
MRS_security_domain
Required if the domain uses LDAP authentication. Optional if the domain uses native authentication. Name of the security domain to which the domain user belongs. You can set a security domain with the -rssdn option or the environment variable INFA_DEFAULT_SECURITY_DOMAIN. If you set a security domain name with both methods, the -rssdn option takes precedence. The security domain name is case sensitive.
If the domain uses native or LDAP authentication, the default is Native.
-Query
-q
Query
Required. A string that queries the repository for a tag name. For more information, see Queries.
-TagName
-tn
tag_name
Required. Name of the tag that you want to assign to the queried object. The name must not exceed 128 characters and start with a number. The name must consist of alphanumeric characters. You can also the special characters such as @ # _.
-TagDescription
-td
tag_description
Optional. The description of the tag.
-TimeZone
-tz
time_zone
Optional. By default, the command uses the time zone on the machine that runs the Data Integration Service process. For a list of valid time zones, refer to the java.time.ZoneID class.

untag

Removes tags from design-time objects.
If business usage has changed, remove tags to ungroup objects. Query the objects and specify the tags to remove.
The infacmd dis untag command uses the following syntax:
untag
<-DomainName|-dn> domain_name

<-ServiceName|-sn> DIS_service_name

<-UserName|-un> DIS_user_name

<-Password|-pd> DIS_password

[<-SecurityDomain|-sdn> DIS_security_domain]

<-RepositoryService|-rs> MRS_service_name

<-RepositoryUserName|-rsun> MRS_user_name

<-RepositoryPassword|-rspd> MRS_password

[<-RepositorySecurityDomain|-rssdn> MRS_security_domain]

<-Query|-q> Query

<-TagName|-tn> tag_name

[<-TimeZone|-tz> time_zone]
The following table describes infacmd dis untag options and arguments:
Option
Argument
Description
-DomainName
-dn
domain_name
Required. Name of the Informatica domain. You can set the domain name with the -dn option or the environment variable INFA_DEFAULT_DOMAIN. If you set a domain name with both methods, the -dn option takes precedence.
-ServiceName
-sn
DIS_service_name
Required. Name of the Data Integration Service.
-UserName
-un
DIS_user_name
Required if the domain uses Native or LDAP authentication. User name to connect to the domain. You can set the user name with the -un option or the environment variable INFA_DEFAULT_DOMAIN_USER. If you set a user name with both methods, the -un option takes precedence.
-Password
-pd
DIS_password
Required if you specify the user name. Password for the user name. The password is case sensitive. You can set a password with the -pd option or the environment variable INFA_DEFAULT_DOMAIN_PASSWORD. If you set a password with both methods, the password set with the -pd option takes precedence.
-SecurityDomain
-sdn
DIS_security_domain
Required if the domain uses LDAP authentication. Optional if the domain uses native authentication. Name of the security domain to which the domain user belongs. You can set a security domain with the -sdn option or the environment variable INFA_DEFAULT_SECURITY_DOMAIN. If you set a security domain name with both methods, the -sdn option takes precedence. The security domain name is case sensitive.
If the domain uses native or LDAP authentication, the default is Native.
-RepositoryService
-rs
MRS_service_name
Required. Name of the Model Repository Service.
-RepositoryUserName
-rsun
MRS_user_name
Required if the domain uses Native or LDAP authentication. User name to connect to the domain. You can set the user name with the -rsun option or the environment variable INFA_REPOSITORY_USER. If you set a user name with both methods, the -rsun option takes precedence.
-RepositoryPassword
-rspd
MRS_password
Required if you specify the user name. Password for the user name. The password is case sensitive. You can set a password with the -rspd option or the environment variable INFA_REPOSITORY_PASSWORD. If you set a password with both methods, the password set with the -rspd option takes precedence.
-RepositorySecurityDomain
-rssdn
MRS_security_domain
Required if the domain uses LDAP authentication. Optional if the domain uses native authentication. Name of the security domain to which the domain user belongs. You can set a security domain with the -rssdn option or the environment variable INFA_DEFAULT_SECURITY_DOMAIN. If you set a security domain name with both methods, the -rssdn option takes precedence. The security domain name is case sensitive.
If the domain uses native or LDAP authentication, the default is Native.
-Query
-q
Query
Required. A string that queries the repository for a tag name. For more information, see Queries.
-TagName
-tn
tag_name
Required. Name of the tag that you want to remove from the queried object.
-TimeZone
-tz
time_zone
Optional. By default, the command uses the time zone on the machine that runs the Data Integration Service process. For a list of valid time zones, refer to the java.time.ZoneID class.

replaceAllTag

Replaces all tags that are assigned to design-time objects.
Query the objects and replace the assigned tags. If the business usage has changed, you can use the command to ungroup objects and assign new tags to regroup objects. All assigned tags are deleted and replaced with the specified tag.
The infacmd dis replaceAllTag command uses the following syntax:
replaceAllTag
<-DomainName|-dn> domain_name

<-ServiceName|-sn> DIS_service_name

<-UserName|-un> DIS_user_name

<-Password|-pd> DIS_password

[<-SecurityDomain|-sdn> DIS_security_domain]

<-RepositoryService|-rs> MRS_service_name

<-RepositoryUserName|-rsun> MRS_user_name

<-RepositoryPassword|-rspd> MRS_password

[<-RepositorySecurityDomain|-rssdn> MRS_security_domain]

<-Query|-q> Query

<-TagName|-tn> tag_name

[<-TagDescription|-td> tag_description]

[<-TimeZone|-tz> time_zone]
The following table describes infacmd dis replaceAllTag options and arguments:
Option
Argument
Description
-DomainName
-dn
domain_name
Required. Name of the Informatica domain. You can set the domain name with the -dn option or the environment variable INFA_DEFAULT_DOMAIN. If you set a domain name with both methods, the -dn option takes precedence.
-ServiceName
-sn
DIS_service_name
Required. Name of the Data Integration Service.
-UserName
-un
DIS_user_name
Required if the domain uses Native or LDAP authentication. User name to connect to the domain. You can set the user name with the -un option or the environment variable INFA_DEFAULT_DOMAIN_USER. If you set a user name with both methods, the -un option takes precedence.
-Password
-pd
DIS_password
Required if you specify the user name. Password for the user name. The password is case sensitive. You can set a password with the -pd option or the environment variable INFA_DEFAULT_DOMAIN_PASSWORD. If you set a password with both methods, the password set with the -pd option takes precedence.
-SecurityDomain
-sdn
DIS_security_domain
Required if the domain uses LDAP authentication. Optional if the domain uses native authentication. Name of the security domain to which the domain user belongs. You can set a security domain with the -sdn option or the environment variable INFA_DEFAULT_SECURITY_DOMAIN. If you set a security domain name with both methods, the -sdn option takes precedence. The security domain name is case sensitive.
If the domain uses native or LDAP authentication, the default is Native.
-RepositoryService
-rs
MRS_service_name
Required. Name of the Model Repository Service.
-RepositoryUserName
-rsun
MRS_user_name
Required if the domain uses Native or LDAP authentication. User name to connect to the domain. You can set the user name with the -rsun option or the environment variable INFA_REPOSITORY_USER. If you set a user name with both methods, the -rsun option takes precedence.
-RepositoryPassword
-rspd
MRS_password
Required if you specify the user name. Password for the user name. The password is case sensitive. You can set a password with the -rspd option or the environment variable INFA_REPOSITORY_PASSWORD. If you set a password with both methods, the password set with the -rspd option takes precedence.
-RepositorySecurityDomain
-rssdn
MRS_security_domain
Required if the domain uses LDAP authentication. Optional if the domain uses native authentication. Name of the security domain to which the domain user belongs. You can set a security domain with the -rssdn option or the environment variable INFA_DEFAULT_SECURITY_DOMAIN. If you set a security domain name with both methods, the -rssdn option takes precedence. The security domain name is case sensitive.
If the domain uses native or LDAP authentication, the default is Native.
-Query
-q
query
Required. A string that queries the repository for a tag name. For more information, see Queries.
-TagName
-tn
tag_name
Required. The name of the replacement tag that you want to assign to the queried objects. The name must not exceed 128 characters and start with a number. The name must consist of alphanumeric characters. You can also the special characters such as @ # _.
-TagDescription
-td
tag_description
Optional. The description of the tag.
-TimeZone
-tz
time_zone
Optional. By default, the command uses the time zone on the machine that runs the Data Integration Service process. For a list of valid time zones, refer to the java.time.ZoneID class.