Rational Developer for System z

Building the sample preprocessor TMPLT00

This topic describes how to build the sample PL/I preprocessor TMPLT00.
TMPLT00 is an ILC (Inter-Language Communication) program. It is a PL/I program that calls a C module to get the data set name associated with a DD card. The C module called is ZFLDATA.

To see the code for TMPLT00, refer to PL/I program for generating error feedback XML and creating expanded source.

To see the code for ZFLDATA, refer to C program for error feedback

To build the sample preprocessor TMPLT00, do these steps. Click the links in the following procedure for further instructions on performing each step:

  1. Create a new z/OS® project.
  2. Create two MVS™ subprojects: one for TMPLT00 and one for ZFLDATA.
  3. Create a new property group named "Property Group for C Parts" for the ZFLDATA subproject using the following property settings:
    Table 1. Property Group for C Parts
    Property Group Page Property Group Settings
    Property Group Categories Select the following categories:
    • C/C++ Settings
    • JCL Job Card and Data Set
    • Link Options
    • Runtime Options
    C/C++ Settings On the Procedures and Steps page:
    • Enable the ELAXFCPC procedure.
    • Specify the following options for the C step:
      • Compiler Options: TEST SOURCE NOMAR NOSEQ NOLIST
      • Object Deck Data Set: <HLQ>.CPPOBJS.OBJ
      • System Libraries: EDCV120.SeDCDHDR
      • Event File Data Set: <HLQ>.SYSEVENT
      • Additional JCL: Include any additional JCL required by your site.
    Link Options On the Procedures and Steps page:
    • Enable the ELAXFLNK procedure.
    • Specify the following options for the LINK step:
      • Link Libraries: SYS1.SCEELKED SYS1.SCEEMAC
      • Use specified link instructions: ORDER CEESTART
      • Load Module Location: <HLQ>.LOAD
      • Additional JCL: Include any additional JCL required by your site.
    Runtime Options On the Procedures and Steps page:
    • Enable the ELAXFGO procedure.
    • Specify the following options for the RUN step:
      • Run in batch with debugger: Select this radio button.
      • Runtime Options/Program Parameters: Select this radio button.
      • Additional JCL:
      //SYSXMLSD DD DSN=&amp;SYSUID..TEMP.WSEDSF1,DISP=(NEW,CATLG),
                  DCB=(RECFM=VB,LRECL=16383,BLKSIZE=27998),
                  SPACE=(TRK,(200,40))
  4. Create a new property group named “Property Group for PL/I Parts” for the TMPLT00 subproject using the following property settings:
    Table 2. Property Group for PL/I Parts
    Property Group Page Property Group Settings
    Property Group Categories Select the following categories:
    • PL/I Settings
    • JCL Job Card and Data Set
    • Link Options
    • Runtime Options
    PL/I Settings On the Procedures and Steps page:
    • Enable the ELAXFPLP procedure.
    • Specify the following options for the PLI step:
      • Object Deck Data Set: <HLQ>.PLIOBJS.OBJ
      • Copy Libraries: <HLQ>.PLI.INCLUDE.CEE.SCEESAMP
      • Support Error Feedback: Select this check box.
      • Data Set qualifier for Compiler Errors: <HLQ>.ERRPLI
      • Additional JCL: Include any additional JCL required by your site.
    Link Options On the Procedures and Steps page:
    • Enable the ELAXFLNK procedure.
    • Specify the following options for the LINK step:
      • Link Libraries: <HLQ>.CPPOBJS.OBJ SYS1.SCEEMAC SYS1.SCEELKED
      • Use specified link instructions: ORDER CEESTART
      • Load Module Location: <HLQ>.LOAD
      • Additional JCL: Include any additional JCL required by your site.
    Runtime Options On the Procedures and Steps page:
    • Enable the ELAXFGO procedure.
    • Specify the following options for the RUN step:
      • Run in batch: Select this radio button.
      • Runtime Options/Program Parameters: Select this radio button.
      • 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)