Command Reference > infacmd ipc Command Reference > genReuseReportFromPC
  

genReuseReportFromPC

Generates a report that estimates how many PowerCenter mappings can be reused in the Model repository for a native or Hadoop environment. You can generate the report as a PDF or Excel file.
Note: If you generate the report as an Excel file, click Enable Content in the message bar to load all sheets.
Before you run the infacmd ipc genReuseReportFromPC command, verify that you complete the following tasks:
The infacmd ipc genReuseReportFromPC command uses the following syntax:
genReuseReportFromPC

<-RepositoryName|-r> Pc_Repository_Name

<-HostName|-h> Pc_Domain_HostName

<-PortNumber|-o> Pc_Domain_PortNumber

[<-UserName|-n> Domain_UserName]

[<-Password|-x> Domain_Password]

[<-SecurityDomain|-s> Pc_Repository_Security_domain]

<-folderNames|-f> Pc_Folder_Names

<-SrcRelease|-srel> Pc_Release_version

[<-targetRelease|-trel> Target_Release_version]

[<-CodePage|-cp> Pc_Repository_code_page]

<-targetDir|-td> Target_Directory

<-authenticationType> -at Authentication_Type

[<-LogFile|-lf> Log_file_Name]

[<-Font> Font_to_use_for_PDF]

[<-ExecutionEnvironment|-execMode> Execution_Environment]
The following table describes infacmd ipc genreusereportfrompc command options and arguments:
Option
Argument
Description
-HostName
-h
Pc_Domain_HostName
Required. The host name of the PowerCenter repository.
-PortNumber
-o
Pc_Domain_PortNumber
Required. The port number of the gateway node.
-UserName
-n
Domain_UserName
Optional. User name of the PowerCenter domain. If you do not enter a user name, the command uses the value in the INFA_DEFAULT_DOMAIN_USER environment variable.
Password
-x
Domain_Password
Optional. Password of the PowerCenter domain. If you do not enter a user name, the command uses the value in the INFA_DEFAULT_DOMAIN_PASSWORD environment variable.
-SecurityDomain
-s
Pc_Repository_Security_domain
Required if you use LDAP authentication. Name of the security domain that the user belongs to. If you do not enter a security domain, the command uses the value in the INFA_DEFAULT_SECURITY_DOMAIN environment variable.
You can use Native, LDAP, or SSO as the value. The default value is Native.
-folderNames
-f
Pc_Folder_Names
Required. PowerCenter folders that contain the objects to be reused. The folder names can contain expressions. The folder names can contain * as expressions.
Note: If you use the Linux environment, you cannot use $ in the folder name.
-SrcRelease
-srel
Pc_Release_version
Required. The PowerCenter Repository Service major release version.
Enter the version in the following format:
9.6.x
For example, enter a version in the following format:
9.6.1
-targetRelease
-trel
Target_Release_version
Optional. The Big Data Management® release version. If you do not enter a version, the command uses the product version. You can enter versions from 10.0.0 and above.
Enter the version in the following format:
10.0.x
For example, enter a version in the following format:
10.0.0
-CodePage
-cp
Pc_Repository_code_page
Optional. Code page of the PowerCenter repository. Default is UTF-8.
-targetDir
-td
Target_Directory
Required. Location of the target directory on the machine on which the infacmd client and server runs. You must have the read, write, and execute permissions on the target directory folder.
For example, enter the infacmd client location in the following format:
installed_location_of_client\clients\DeveloperClient\infacmd
For example, enter the infacmd server location in the following format:
installed_location_of_server\isp\bin
Note: On a Linux machine, you cannot use $ in the target directory name.
authenticationType
-at
Authentication_Type
Required. The type of user authentication for the domain. Enter one of the following values: LDAP, Native, or Kerberos Single Sign On.
-LogFile
-lf
Log_file_Name
Optional. Name of the generated log file. If you do not enter a name, the command prints the logs on the console. Uses the value of file_path/file_name.
If you enter a file name, the log file with the same name appears in the infacmd folder.
If you enter a directory path that is not valid, the log file with the path name appears in the infacmd folder. For example, if you enter x as the directory path, the log file named x appears in the infacmd folder.
-Font
Font_to_use_for_PDF
Optional. The location for the font file to have Unicode characters in the report.
-Execution Environment
-execMode
Execution_Environment
Optional. The run-time engine in the Hadoop environment. The report validates mappings based on the run-time engine that you choose. You can use Blaze, Spark, or Hive as the value. If you do not enter a value, the report will run against all engines and include only the engine with the fewest errors.
Note: If you use the Linux environment, you cannot use $ in the target directory name.