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 Delivered
Workspace COBOL Compilers
Created by Guest
Created on Oct 28, 2020

Enterprise COBOL to support greater than 999,999 lines in source listing

Since the introduction of Enterprise COBOL version 5 in 2013/2014, IBM has been all about eliminating constraints and limits in the COBOL compiler. In Enterprise COBOL version 6, IBM introduced the 64-bit backend processing to support programs of increasing size and complexity.

We have encountered a new limit in Enterprise COBOL 6.3 - the 999,999 line limit to the number of source lines that can be uniquely identified in a compiler source listing.

Throughout the compiler listing, the line number field is displayed as six numeric digits, and the current behavior of the compiler is that when the compiler reaches line 1,000,000 in the listing, that line is identified as line number 000000 and then counting resumes from there.

We now have programs that exceed 1,000,000 unique source lines in the listing, and the 999,999 limit is a serious constraint - mainly as it prevents debugging tools from functioning correctly.

Idea priority High
  • Admin
    Basil Kanneth
    Reply
    |
    Mar 6, 2023

    This Idea was made available in the May 2021 Enterprise COBOL V6.3 PTF. See APAR PH35643 https://www.ibm.com/support/pages/apar/PH35643?mhsrc=ibmsearch_a&mhq=PH35643

  • Guest
    Reply
    |
    Jan 22, 2021

    This RFE is being accepted with some limitations. In direct contact with the RFE submitter.

  • Guest
    Reply
    |
    Dec 9, 2020

    This RFE is being discussed further internally. As a result, moving this RFE back to 'Under Consideration'.

  • Guest
    Reply
    |
    Dec 3, 2020

    Hi, unfortunately this is not just a source listing line number issue, there are many aspects to increasing the size of programs, such as internal compiler limitations and companion products such as Debug for z, APA and FA.

    Also, since the V4 compiler has the same limit, we won't be accepting this as an RFE, but treat it as a defect to diagnose this and issue a warning to prevent the over-write.

  • Guest
    Reply
    |
    Nov 10, 2020

    As our goal by raising this requirement is simply to resolve the ambiguity that occurs when line numbers repeat - as is the case today when there are more than 999,999 lines of source in a listing, any solution that resolves that ambiguity would be acceptable we believe.

    For example, the line number field in the listing could be expanded to 7 digits instead of the current limit of six digits. This would permit unambiguous line numbers for source listings containing up to 9.9 million lines of source.

    Another option would be to redefine the first character of the existing six digit line number field as alphanumeric, and use the existing pattern of 0-9 for source listings that are less than 999,999 lines (identical to today's behavior) and then use alphabetic characters to represent each of the next sets of 100,000 lines. In this option, line 1,000,001 would display as "A00001", line 1,100,001 would display as "B00001" and so on. Using the letters A-Z in this fashion would allow unique identification of approximately 3.5 million lines of source in the listing.

    The key here is that a solution must offer unique and unambiguous identification of each line of source in the listing. We do not anticipate a need for us to exceed 2 million lines of source for the foreseeable future so either of the above suggested alternative solutions would solve this need for us.

  • Guest
    Reply
    |
    Oct 29, 2020

    Line numbers are Key within a LISTING document, not only Used by other Vendor products, they as well are key in debugging purposes online just Viewing listings. please reconsider.