To use the show dependencies and remote syntax check functions
of Rational® Developer for System z®, you need to set up
appropriate compiler options.
Rational Developer
for System z provides show
dependencies and remote syntax check functions that detect dependencies
for COBOL and PL/I programs. These functions use the COBOL and PL/I
compilers to locate the copy members and include files that a COBOL
or PL/I program needs to compile properly. These functions are available
from a number of locations in the Rational Developer
for System z interface:
- From the z/OS® Projects
perspective, select a subproject containing COBOL or PL/I files and
then select Show Dependencies.
- From the z/OS Projects
view, select a local COBOL or PL/I file or a local project containing
COBOL or PL/I files and then select Show Dependencies.
- From the Work Offline wizard, select the Show Dependencies button
on the Show Dependencies for Selected Resources page.
- From the z/OS Projects
view or the System z LPEX
editor, select or open a remote COBOL or PL/I file and then
select Syntax Check > Local.
- From the z/OS Projects
view or the System z LPEX
editor, select or open a COBOL or PL/I file and then select Syntax
Check > Remote.
To set compiler options for a show dependencies or remote
syntax check operation, do these steps:
- On the Procedures and Steps tab
of the COBOL or PL/I Settings page,
expand the ELAXFCOC or ELAXFPL1 procedure name.
- Double-click the COBOL or PLI step. The COBOL or PL/I
Compile Step Options window opens.
- Select the Support Error Feedback check
box. This check box prompts the compiler to allocate an
XML file during show dependencies or remote syntax check operations. Rational Developer for System z parses this XML file
to display dependent files.
- Add XINFO(XML) to the Compiler
Options field of the COBOL or PL/I
Compile Step Options . The compile options
needed for Remote Syntax Check and Show Dependencies for COBOL are
ADATA,EXIT(ADEXIT(ELAXMGUX)). These compile options are automatically
specified to the compiler on a Remote Syntax Check or Show Dependencies
operation. The compile options needed for Remote Syntax Check and
Show Dependencies for PL/I are XINFO(XML). These compile options
are automatically specified to the compiler on a Remote Syntax Check
or Show Dependencies operation.
Note: If, after setting these options, show dependencies
or remote syntax check requests do not succeed, check that the TSO
command server is configured properly. A simple way to check this
server is to allocate a data set from the z/OS Projects view
or Remote Systems view.