Rational Programming Patterns

rpp --automaticMigration

This command runs a complete migration (import, dispatch Macros...).

Syntax

rpp.bat --automaticMigration [options]

Parameters

Table 1. List of the available parameters
Options Comments Required Default values
--data Full path to the workspace to use Yes  
--log Log file name N/A trace.log
--from Name of the folder containing the files required for the migration: MIA1.txt, MIA2.txt, MIA3.txt, MIA4.txt, MIBR.ta2, and MIMA.cblgen. Their names cannot be changed. Yes  
--location This parameter is used to replace the name of the target location for the import commands with the required value. It is also used to name the file produced by the automaticMigration command: 'location'.txt. Yes  
Note:
For the --from parameter, the folder must have the following structure:
  • MIBR.ta2
  • MIMA.cblgen
  • MIA1.txt
  • MIA2.txt
  • MIA3.txt
  • MIA4.txt
  • /COBOL_FOLDER/pacprogram/lib 

    for the sources resulting from GCP (GPRT-C9)

    lib is the initial Library of the generated instance.

  • /COBOL_FOLDER/pacscreen /lib

    for the sources resulting from GCO and GGC (GPRT-C9)

    lib is the initial Library of the generated instance.

  • /COBOL_FOLDER/pacserver/lib

    for the sources resulting from GGS (GPRT-C9)

    lib is the initial Library of the generated instance.

  • /CONTROL_COBOL_FOLDER/MIA1/lib 

    for the sources resulting from GCP (MIA1)

    lib is the initial Library of the generated instance.

  • /CONTROL_COBOL_FOLDER/MIA2/lib

    for the sources resulting from GCO (MIA2) 

    lib is the initial Library of the generated instance.

  • /CONTROL_COBOL_FOLDER/MIA3/lib 

    for the sources resulting from GGC (MIA3)

    lib is the initial Library of the generated instance.

  • /CONTROL_COBOL_FOLDER/MIA4/lib 

    for the sources resulting from GGS (MIA4)

    lib is the initial Library of the generated instance.

As regards parameter --location, the 'location'.txt' file is run with the following command: rpp --commands --data workspace --file 'location'.txt

Example

rpp.bat --automaticMigration --data C:/usr/WKSFD2 --from C:/usr/Tests/WorkItemRTC/WI6382bis/ --location TESTON

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)