rpp --generateErrorMsgs

This command generates error messages for the Data Structure, Dialog, Server Dialog, Server, and Screen entities.

Syntax

You can select several instances of the same entity type. In this case, these instances are generated in a single output file (error message file). To execute this command, you must enter the project name, the package name, and the name of each instance in the --name option . The instance names must be separated by a comma. To select other instances located in another project, you must specify the package name, the project name, and the name of each instance (separated by a comma) in the --name option. The same number of occurrences must be included in the --package,--project and --name options.

rpp.bat --generateErrorMsgs [options]

Parameters

Table 1. List of the available parameters
Options Comments Required Default values
--data Full path to the workspace (Rational® Developer for System z® option). Yes  
--log Log file name N/A trace.log
--project Project name Yes multiple
--package Package name Yes multiple
--name Name of the instance in the repository Yes multiple. The instance names must be separated by a comma.
--type Entity type Yes dataunit, pacdialog, pacscreen, pacserver, or pacdialogserver
--destination Output file name Yes  
--error messages Specific error messages file name N/A  
--lang Target generation language Yes  
--option Generation option   C1 (default value), C2, C3 (for Dialog only), or C4
Note: Only one instance can be selected at a time (--package, --name, --type).

Sample

rpp.bat --generateErrorMsgs --project TEST01.T02 --package T02 --name 0B,0M --type dataunit --destination d:/utmp/errorbatch.txt --errorMessages d:/utmp/errorbis.log --lang FR --log d:/utmp/trace.log --data d:/Working/JbyWks

In this example, the OB and OM Data Structures are selected in the T02 package of the TEST01.T02 project.

rpp.bat --generateErrorMsgs --project TEST01.T02 --package T02 --name 0B,0M --project TEST01.T03 --package T03 --name DD --type dataunit --destination d:/utmp/errorbatch.txt --errorMessages d:/utmp/errorbis.log --lang FR --log d:/utmp/trace.log --data d:/Working/JbyWks

In this other example, the OB and OM Data Structures are selected in the T02 package of the TEST01.T02 project. The DD Data Structure is selected in the T03 package of the TEST01.T03 project.


Feedback