Rational Developer for System z

Running the sample preprocessor TMPLT00

This topic describes how to run the sample PL/I preprocessor TMPLT00.
The sample PL/I preprocessor TMPLT00 is run as part of a build operation for a COBOL program. The preprocessor runs using the COBOL program as input. The output of the preprocessor is used as input to the compiler. The preprocessor runs when you select the Rebuild Subproject, Syntax Check > Remote, or Show Dependencies actions for a COBOL program. See Sample code walk-through for an example of this process.

To invoke the preprocessor, the build properties of your COBOL property group should include a call to the preprocessor. Set the following build properties in your COBOL property group:

Table 1. Property Group for COBOL Parts
Property Group Page Property Group Settings
COBOL Settings On the Procedures and Steps page:
  • Enable the ELAXFCP9 procedure.
  • Add a new step called PREPROC1 and set the following step options:
    • Support Error Feedback: Select this check box.
    • Data Set Qualifier for Compiler Errors: <HLQ>.FRAGDMO
    • Additional JCL: Include any additional JCL required by your site, such as:
    //PREPROC1.FRAGMENT DD DSN=<HLQ>.A001.DATA.FRAGMENT,DSP=SHR
Runtime Options On the Procedures and Steps page:
  • Enable the ELAXFCP9 procedure.
  • Specify the following options for the COBOL step:
    • Copy Libraries: <HLQ>.A001.COPYLIB1.COPYLIB
    • Support Error Feedback: Select this check box.
    • Data Set qualifier for Compiler Errors: <HLQ>.ERRCOB
    • Additional JCL: Include any additional JCL required by your site.
:

Terms of use | Feedback

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