rpp --commands

This option is used with the rpp.bat command to run the list of commands.

Syntax

rpp.bat –commands [options]

Parameters

Table 1. List of the available parameters
Options Comments Required Default values
--data Full path to the workspace Yes  
--log Log file name

The beginning of this file reminds the parameters that were entered to run the Pacbase migration procedures.

trace.log
--file File containing the list of commands Yes
--exitOnError Exit in case of errors  
The file of the --file option must include a series of batch commands.
Example:
...
--import --fromFile D:/Working/Misc/PGMCUO.ta2 --location TEST01 --importType ta2 --
overwrite
--copy --source 
CUST1A.cbl --destProject TEST01.CVI --destFolder design/CV0/IBM/CVI 
--generate --project TEST01.CVI --package CV0.IBM.CVI --name CUST01 --type pacprogram --
...

If the --exitOnError option is indicated, the process stops at the first command failure.

Note: The Pacbase version number is included in the .ta2 file. If the version in this file is not compatible with the current version of Rational® Programming Patterns, the import is not run and an error is generated. The control does not go down to the subversion level (Y09A for example).

Feedback