Launching a debug session for z/OS batch applications using existing JCL
You can create a z/OS Batch Application using existing JCL launch configuration to augment existing JCL with appropriate options and submit JCL to run z/OS batch applications. This launch configuration supports using a debug profile.
About this task
- Creating a z/OS Batch Application using existing JCL launch configuration
- Using the launch configuration in code coverage mode
- Using the launch configuration from the Remote Systems or z/OS Projects view or Eclipse Project Explorer view
- Using the launch configuration when you are editing
- Viewing the batch job in the Remote Systems view
Creating a z/OS Batch Application using existing JCL launch configuration
About this task
Procedure
- From the main toolbar, click the down arrow to the right of
the debug icon (
) and select Debug Configurations.
The Debug Configurations wizard opens. - In the wizard, from the list on the left, right-click z/OS Batch Application
using existing JCL and select New. The z/OS Batch Application using existing JCL launch configuration wizard opens.
- In the Name field, enter a name for the new launch configuration.
- On the JCL Options tab, specify JCL generation options and optionally a non-CICS profile to activate as part of the launch.
- Complete the required fields and any other optional fields in the
wizard. For more information about the fields, see the topics about the tabs.
- Click Apply. The new configuration is saved on the client. When you click Debug, the remote debug profile is activated. Then, JCL is generated and submitted to start your debug session.
Using the launch configuration in code coverage mode
About this task
Procedure
- From the main toolbar, click the down arrow to the right of the Compiled Code
Coverage icon (
) and select Compiled Code Coverage Configurations.
The Compiled Code Coverage Configurations wizard opens. - On the Code Coverage tab, specify any code coverage options.
- Complete other fields in the wizard as necessary. For more information about the fields, see the topics about the tabs.
- Click the Coverage button. If a non-CICS profile is specified, the profile is activated. Then, JCL is generated and submitted to start your compiled code coverage session.
Using the launch configuration from the Remote Systems or z/OS Projects view or Eclipse Project Explorer view
Procedure
Using the launch configuration when you are editing
Procedure
Viewing the batch job in the Remote Systems view
About this task
Procedure
- In the Debug view, select the JES job target, which is the first child of the launch, and right-click to open the context menu.
- From the menu, select Show In Remote Systems. The Remote Systems view is opened and the job is selected under the Retrieved Jobs filter in the JES subsystem.