You may want to organize your MVS™ subproject
to include all of the files required for a program. You can automatically
add the dependencies of a COBOL or PL/I program in your MVS subproject.
Before you begin
You must first have added your COBOL or PL/I program to an MVS subproject, and your program
must not contain any syntax errors.
Note: If your program depends on
a file that cannot be found, an error message is returned and the
file is skipped. To ensure that files are not skipped, run a local
syntax check on your program; if the syntax check does not produce
any errors, then all the dependencies can be located and no files
are skipped.
Procedure
- Right-click the COBOL or PL/I program in the z/OS
Projects view. The Show Dependencies action
is not supported for sequential data sets.
- Click Show Dependencies in the context
menu. A window opens, listing the dependencies for
the selected program.
Note: If the subproject you are working with
belongs to a host-based project, you can only display the dependencies.
You cannot add dependencies to a host-based subproject.
- Select the dependencies you want to add to your subproject
in the list box.
- Check the Add selected to subproject check
box.
- Click Finish. The
selected dependencies are added to your MVS subproject.