Rational Programming Patterns

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 again 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 to use Yes  
--log Log file name N/A trace.log
--project Project name Yes repeated
--package Package name Yes repeated
--name Entity name Ye entities names separated by a comma, repeated
--type Entity type Yes [dataunit|pacdialog|pacscreen|pacserver|pacdialogserver]
--destination Output file name Yes  
--error messages Specific error messages file name N/A  
--lang Target generation language Yes  
--option Generation option  

C3 is only for dialog, the default value is C1. [C1|C2|C3]

Note: Only one entity at a time can be selected (--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 Data Structures 'OB' and 'OM' 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.


Terms of use | Feedback

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