Supporting error feedback for custom preprocessors

You can set custom preprocessor properties for supporting error feedback.

Procedure

To set up properties to support error feedback for custom preprocessors, do these steps:

  1. From a properties window, open the Add a New Step or User-Defined Step Options window.
    To open these windows, do the following steps:
    1. From the Assembler Settings, COBOL Settings, or PL/I Settings page of the properties window, select the Procedures and Steps tab.
    2. Select the procedure name to which you want to add a custom step or that has an existing custom step.
    3. To enable the procedure, click Enable procedure.
      A procedure must be enabled before you can add a step to it or edit an existing step.
    4. Click Add step to open the Add a New Step window or Edit step to open the User-Defined Step Options window.
  2. Click the Support Error Feedback check box.
    The Data Set Qualifier for Compiler Errors field is activated.
  3. Specify the error feedback qualifier that is used to generate the SYSXMLSD DD card in the JCL.
    If your preprocessor writes the XML file in UTF-8, then make sure the qualifier name that is specified includes ERRWDZ. Files with ERRWDZ as a qualifier are transferred in binary format to avoid any code page translations. To handle the file transfer, a default mapping for **ERRWDZ is defined in the z/OS File System Mappings view.

What to do next

See the Related References for samples of JCL and an XML file that is generated for error feedback for a custom preprocessor.