Rational Programming Patterns

Using command lines

Rational® Programming Patterns command lines are used to perform operations without opening the graphical interface of Rational Programming Patterns. Then, you can import or generate entities from the command lines, copy the COBOL source into a destination project and folder, create zComponent projects and folders or dispatch Macros, for example. The batch command is available in the RPP folder of the Rational Developer for System z root installation directory under the name rpp.bat. You can also use lrpp.bat with the daemon to launch the commands. A new command is used for mapping language definition with zFiles or data set definition with zFolder from Rational Team Concert™ SCM.

Syntax

From a command prompt, enter the following commands to import, generate entities with Rational Programming Patterns, or use migration help for an entity. Each command has its specific options; you can display them in the help by just typing the command options.
For each command, you must comply with the syntax. In the command line, specify one of the command options available in the table of parameters that you find in the page documenting, then enter the required value. If errors are found, the rpp.bat command returns -1 in the variable DOS ERRORLEVEL.
Note: The command lines must not be greater than the maximum length supported by the operating system.
The Rational Programming Patterns command are as follows:
  • --generate Generates the COBOL Program
  • --import Imports
  • --importJournal Imports updates extracted from the journal
  • --automaticMigration Migrates automatically
  • --migrationHelp Migrates help
  • --compare Compares COBOL
  • --generateErrorMsgs Generates error messages
  • --generateDataBlockBase Generates Database Blocks
  • --generateCopyBook Generates copy books
  • --dispatchMacro Dispatches Macros
  • --copy Copies files
  • --zCompCreation Creates z/OS components
  • --refresh Refreshes workspaces
  • --commands Executes a list of commands.
  • --help Displays the following message:

    To display help for a specific command option enter the related option.

  • --daemon Starts, stops the daemon before using lrpp.bat.
  • rpp-zcompmap, mapping of language definition with zFile or data set definition with zFolder from SCM.

Terms of use | Feedback

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