Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Submitted
Categories Editors
Created by Guest
Created on Oct 2, 2026

Make the IDz JCL Outline terminate an in-stream PROC scope at a valid PEND statement

Request

Enhance the JCL Editor Outline in IBM Developer for z/OS so that a valid PEND statement terminates the current in-stream procedure scope in the Outline structure. Statements following PEND should be displayed at the enclosing job level unless they explicitly begin another procedure.

Problem

In IBM Developer for z/OS 17.0.5, when a valid PEND statement terminates an in-stream PROC, the JCL Editor Outline continues to use the preceding PROC as the parent node. Subsequent job-level EXEC statements are therefore displayed as children of the terminated procedure.

IBM Support reproduced the reported behavior, including in an IDz 16.0.8 environment. The development team subsequently confirmed that the observation is valid but that the product is currently working as designed. IBM Support recommended submitting this Idea as an enhancement request. The related support case is TS022898171.

Minimal example

//PENDTRM JOB CLASS=A,MSGCLASS=H,NOTIFY=&SYSUID
//MYPROC PROC
//PSTEP1 EXEC PGM=IEFBR14
// PEND
//CALLPROC EXEC MYPROC
//AFTER1 EXEC PGM=IEFBR14
//

Expected Outline structure

PENDTRM JOB
├─ MYPROC PROC
│  └─ PSTEP1 EXEC PGM=IEFBR14
├─ CALLPROC EXEC MYPROC
└─ AFTER1 EXEC PGM=IEFBR14

Actual Outline structure

PENDTRM JOB
└─ MYPROC PROC
  ├─ PSTEP1 EXEC PGM=IEFBR14
  ├─ CALLPROC EXEC MYPROC
  └─ AFTER1 EXEC PGM=IEFBR14

The Outline incorrectly shows CALLPROC and AFTER1 as belonging to MYPROC even though the procedure was terminated by PEND.

Host execution result

The same JCL is accepted and interpreted correctly by JES. The test job completed with CC 0000. JES expanded and executed MYPROC correctly and executed AFTER1 as a separate job-level step.

This demonstrates that the request concerns the IDz client-side JCL structure and Outline presentation. It does not concern JES interpretation or job execution.

Why this enhancement is useful

Developers use the Outline view to:

- Understand complex JCL structures.
- Determine whether a step belongs to an in-stream procedure or to the enclosing job.
- Navigate between procedures and job-level statements.
- Review and maintain production JCL.
- Validate the effect of structural changes during code review.

When the Outline hierarchy differs from the structure recognized by JES, developers can be misled about procedure boundaries and statement ownership. This reduces confidence in the Outline view and increases the time and risk involved in reviewing complex JCL.

Who would benefit

This enhancement would benefit z/OS developers, JCL maintainers, reviewers, application support teams, and organizations adopting IDz as a replacement or modernization path for traditional host development tools.

Requested behavior and acceptance criteria

1. When the JCL structure model encounters a syntactically valid PEND statement, it should close the active in-stream PROC scope.

2. Statements following PEND, including EXEC, SET, JCLLIB, and other valid job-level statements, should be represented at the enclosing job level unless they begin another valid procedure scope.

3. The behavior should be consistent for all valid PEND forms supported by z/OS JCL, including PEND with a blank name field and a named PEND statement.

4. EXEC MYPROC and EXEC PROC=MYPROC statements following PEND should both be displayed as job-level statements.

5. Multiple in-stream procedures in the same job should each have independent and correctly terminated scopes.

6. Adding an explicit null statement at the end of a job should not be required to complete or correct the Outline structure.

7. The corrected structure should be available without producing false JCL warnings or requiring changes to valid, executable JCL.

Current workarounds and limitations

One workaround is to move the in-stream procedure into a cataloged or private procedure library and configure that library in the IDz Remote Property Group. This produces the expected Outline hierarchy but requires restructuring existing JCL and maintaining additional property-group configuration.

A second cosmetic workaround is to add another unused in-stream procedure after PEND. This creates a new Outline node, but subsequent job-level statements are still assigned to the wrong parent. The resulting hierarchy therefore remains semantically incorrect.

Neither workaround provides an equivalent, sustainable replacement for recognizing PEND as the end of the current in-stream PROC scope.

Idea priority Medium
  • Guest
    Oct 5, 2026

    I got the same issue.