rpp --rpp-zcompmap
This command is used to map zComponent files and projects with language definitions or data set definitions. It is called by the scmtools_entries.bat script file, which is produced by the migration.
Description of the command
With this command, you define the artifacts that are required by the project, the zFiles COBOL files, and zFolder folders. You associate them with language definitions or data set definitions. You can associate a language definition with zFile files or data set definitions with zFolder folders.After an automatic migration (rpp --automaticMigration), this command is automatically run when the projects are shared if files have been produced by the migration in the metadata/zCompMap directory of the migration workspace.
Note: You must
create the language definitions, the data set definition, and the mapping file.
Syntax
The following syntax is required:rpp.bat --rpp-zcompmap [options]
Each command line of the mapping file must have the following format:[zFile|zFolder]#Location#[LangDef|DataSetDef]
Options | Comments | Required |
---|---|---|
--repository-uri|--r | URI of the repository. | Yes |
--username|--u | User name to access the repository. | Yes |
--password|--P | Password to access the repository. | Yes |
--mapfile|--m | Mapping file to use (incompatible with mapfolder). | No |
--mapfolder|--f | zOS language definition mapping folder (incompatible with mapfile). | No |
--workspace|--w | Name or UUID of the repository workspace. | Yes |
--data | Full path to the workspace. | Yes |
--log | Log file name (trace.log by default). The beginning of this file reminds the parameters that were entered to run the Pacbase migration procedures. |
No |
Example
rpp.bat --rpp-zcompmap --r "https://localhost:9443/ccm/" --u JAZZ --P JAZZ --f C:\MyWorkspace\.metadata\zCompMap --w "MyRTCRepoWks" --data C:\temp\MyLocalWksExample of mapping file
zFolder#CobolProject\zOSsrc\Folder#MyDataSetDefinitionNamezFile#CobolProject\zOSsrc\Folder\Sample.cbl#LanguageDefinitionName