rpp --generateCopyBook

This command generates the Copybooks of Data Structures.

Purpose

With this command, you can generate the COBOL description of Data Structures and SQL Database Blocks in a file.

Syntax

rpp.bat --generateCopyBook [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  
--package Package name Yes  
--name Name of the instance in the repository Yes  
--genType Generation type Yes  
--dsCode Data Structure code Yes  
--dsExtName Data Structure external name Yes  
--COBOLLocCode COBOL location code Yes  
--COBOLType COBOL type Yes  
--formatType Format type Yes  
--recordType Record type    
--recordLevel Record level number Yes  
--segment Selected Segment    
--destination Output file name Yes  

Sample

rpp.bat --generateCopyBook --project TEST01.T02 --package T02 --name 0B --genType DC1 --dsCode 0B --dsExtName 0B --cobolLocCode W --cobolType X --formatType I --recordLevel 1 --destination d:/utmp/copybook.cpy --log d:/utmp/trace.log --data d:/Working/JbyWks

Feedback