Rational Developer for System z, Version 7.6

Example: Adding a compiler option for debug

You may want to add a new compiler option for the purpose of generating side files for debug for a project build having COBOL source files.
Assume the COBOL compilation procedure at your location has been customized so that the compiler parameters are as follows:

(ADEXIT(ELAXMGUX)),ADATA,LIB,TEST&PARM

Note: ELAXMGUX is necessary for error feedback. Using ELAXMGUX causes compiler, syntax check, and build errors to appear in the task list.

Suppose you want to generate side files for debug and are using COBOL source files in the project build. On the JCL Substitution page for COBOL settings, you would add PARM as the variable name and the desired option for the variable value.

The generated JCL for the project build will have a SET statement with PARM=option specified before the EXEC PROC statement, which will be substituted during the execution of the PROC.


Terms of use | Feedback

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