rpp --generate

With this command, you can generate entities.

Syntax

rpp.bat --generate [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 N/A trace.log
--project Project name Yes  
--name Name of the instance in the repository Yes  
--type Entity type.

You can enter one of the following values: pacprogram, pacdialog, pacscreen, pacserver, pacblockbase, pacerrorlabel, paccopybook, dataaggregate (for Pactables Tables), pacfolder, pacfolderview, or paccommunicationmonitor.

Yes  
--pattern A pattern can be specified to generate a Server or a Folder.
  • If the --type option is set to pacserver, you can enter one of the following patterns:
    • com.ibm.pdp.pacbase.csserver to generate the COBOL code of a Server,
    • com.ibm.pdp.pacbase.server.it to generate the COBOL code of an Initialization or Termination Business Component,
    • com.ibm.pdp.pacbase.csproxy to generate the OCX proxy of a Business Component-type Server.
  • If the --type option is set to pacfolder, you can enter one of the following patterns:
    • com.ibm.pdp.pacbase.folder to generate the COBOL code of a Folder,
    • com.ibm.pdp.pacbase.folder.proxy to generate the Java™ proxy of a Folder.

If you do not enter a pattern, all the patterns that correspond to the selected entity type will be generated.

No  
--verbose Option to show more information. No  
Note: The skeleton language is identical to the Pacbase skeleton language. This piece of information is retrieved from the extraction of the Pacbase models and from the import.

Sample

rpp.bat --generate --project TEST01.CVI --name CUST01 --type pacprogram --log d:/utmp/trace.log --data d:/Working/JbyWksBuild

Feedback