Command Reference > infacmd dis Command Reference > compareMapping
  

compareMapping

Compares two queried mappings.
Query the objects to compare properties, transformation properties, and ports within transformations.
To query design-time objects, specify the design-time Model repository. To query run-time objects, do not specify a Model repository. The query will use the Model repository associated with the Data Integration Service that runs the request.
Effective in 10.5, the infacmd dis compareMapping is deprecated and will be removed in a future release. If you are using scripts based on infacmd dis compareMapping, Informatica recommends that you update the scripts with the new infacmd dis compareObject command. Deprecated functionality is supported, but Informatica intends to drop support in a future release. Informatica requests that you to transition to different functionality before the functionality is dropped.
The infacmd dis compareMapping command uses the following syntax:
compareMapping

<-DomainName|-dn> domain_name

<-ServiceName|-sn> DIS_service_name

<-UserName|-un> DIS_user_name

<-Password|-pd> DIS_password

[<-SecurityDomain|-sdn> DIS_security_domain]

[<-sourceRepositoryService|-srcrs> source_MRS_name]

[<-sourceRepositoryUserName|-srcrsun> source_MRS_user_name]

[<-sourceRepositoryPassword|-srcrspd> source_MRS_password]

[<-sourceRepositorySecurityDomain|-srcrssdn> source_MRS_security_domain]

<-sourceQuery|-srcq> source_query

[<-targetRepositoryService|-tgtrs> target_MRS_name]

[<-targetRepositoryUserName|-tgtrsun> target_MRS_user_name]

[<-targetRepositoryPassword|-tgtrspd> target_MRS_password]

[<-targetRepositorySecurityDomain|-tgtrssdn> target_MRS_security_domain]

<-targetQuery|-tgtq> target_query

[<-TimeZone|-tz> time_zone]
The following table describes infacmd dis compareMapping 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.
-sourceRepositoryService
-srcrs
source_MRS_name
Optional. Name of the Model Repository Service for the source object.
-sourceRepositoryUserName
-srcrsun
source_MRS_user_name
Optional. The user name for the Model Repository Service that is used to access the source object. You can set the user name with the -srcrsun option or the environment variable INFA_SOURCE_REPOSITORY_USER. If you set a user name with both methods, the -srcrsun option takes precedence.
-sourceRepositoryPassword
-srcrspd
source_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 -srcrspd option or the environment variable INFA_SOURCE_REPOSITORY_PASSWORD. If you set a password with both methods, the password set with the -srcrspd option takes precedence.
-sourceRepositorySecurityDomain
-srcrssdn
source_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 -srcrssdn option or the environment variable INFA_DEFAULT_SOURCE_SECURITY_DOMAIN. If you set a security domain name with both methods, the -srcrssdn option takes precedence. The security domain name is case sensitive.
If the domain uses native or LDAP authentication, the default is Native.
-sourceQuery
-srcq
source_query
Required. A string that queries the source object. For more information, see Queries.
-targetRepositoryService
-tgtrs
target_MRS_name
Optional. Name of the Model Repository Service for the target object.
-targetRepositoryUserName
-tgtrsun
target_MRS_user_name
Optional. The user name for the Model Repository Service that is used to access the target object. You can set the user name with the -tgtrsun option or the environment variable INFA_TARGET_REPOSITORY_USER. If you set a user name with both methods, the -tgtrsun option takes precedence.
-targetRepositoryPassword
-tgtrspd
target_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 -tgtrspd option or the environment variable INFA_TARGET_REPOSITORY_PASSWORD. If you set a password with both methods, the password set with the -tgtrspd option takes precedence.
-targetRepositorySecurityDomain
-tgtrssdn
target_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 -tgtrssdn option or the environment variable INFA_DEFAULT_TARGET_SECURITY_DOMAIN. If you set a security domain name with both methods, the -tgtrssdn option takes precedence. The security domain name is case sensitive.
If the domain uses native or LDAP authentication, the default is Native.
-targetQuery
-tgtq
target_query
Required. A string that queries the target object. For more information, see Queries.
-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.