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 Not under consideration
Created by Guest
Created on May 30, 2022

COBOL - Support for COPYBOOKs conditional inclusion

Hi,


We use IBM Enterprise COBOL V6, and we have taken advantage of conditional compilation to develop a framework of "adaptives" COPYBOOKs:

  • conditional compilation variables are valued in the source code of the COBOL program; some are through DEFINE compiler options

  • these compilation variables condition a first level of COPYBOOKs inclusion

  • these COPYBOOKs in turn reference other COPYBOOKs, always conditionally, and this on several levels of inclusion

  • COPYBOOKS modify the values of conditional compilation variables, and for some delete conditional compilation variables, (variables local to a group of COPYBOOKs)

For a COPYBOOK referenced in the COBOL source program, potentially dozens of other COPYBOOKs are referenced indirectly, but because of conditional compilation in reality only a small number of them actually participate in the final compilation.

This operating mode also exists with the Assembler macros of the HLASM compiler.


According to our information, IBM DBB does not support COBOL conditional compilation at this time.

In fact, all the COPYBOOKs of our framework would be considered by IBM DBB as necessary for the construction of a COBOL program, which is not exact, and any modification of one of these COPYBOOKs of the framework could be identified as an impact on the program COBOL and wrongly trigger a reconstruction, (and in fact we would rebuild all the programs of our platform).

So we want IBM DBB to be able to handle COBOL conditional compilation, and handle conditional inclusion of COPYBOOKs.

Otherwise, it would be necessary to be able to declare to IBM DBB to ignore certain COPYBOOKs in the analyzes because these COPYBOOKs of framework have especially a technical character which one could consider as stable enough and "non-impacting", and in the event of a real impact then we would handle the case outside of IBM DBB.

At this time, this operation of conditional inclusion of COPYBOOKs is only implemented for the development framework, it is not used for "business" COPYBOOKs, but in the future it could be.

Idea priority High
  • Guest
    Reply
    |
    Jul 20, 2022

    After reviewing this RFE we are rejecting this as we do not expect to deliver in releases within the next 18-24 months. If the RFE remains important to you please resubmit after this time.