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
Workspace COBOL Compilers
Created by Guest
Created on Feb 6, 2019

Enterprise Cobol - Using coprocessors as independent tools

The use of DB2 and CICS preprocessors is deprecated in favor of the coprocessors built into the Cobol compiler.

We would like to be able to use the coprocessors as independent utilities, ie to transform the EXEC commands into Cobol instructions without triggering a Cobol compilation.

For this, the option MDECK(NOCOMPILE), associated with the SQL or CICS options, should produce a Cobol source with translation of the EXEC commands to Cobol statements as the preprocessors DB2 and CICS would have done.

Idea priority Low
  • Guest
    Reply
    |
    Jun 23, 2020

    Hi, since there have been no updates, we shall go ahead and cancel this RFE. Thanks.

  • Guest
    Reply
    |
    Jun 3, 2020

    May we know if you got a chance to review our April 29th, 2020 update?

    We shall keep this RFE open till June 17th, 2020 after which we shall close it if no response by then. Thanks.

  • Guest
    Reply
    |
    May 27, 2020

    May I know if you had a chance to review our previous update?

  • Guest
    Reply
    |
    Apr 29, 2020

    From a compiler point of view, we do not see an easy/clean solution for this RFE.
    We cannot guarantee that the DBRM file for the BIND won't change.

    As a result, this is being rejected from a compiler point of view.

    Please let us know if you would like us to pass this to the DB2 team to see if any alternative method can be used.

    Thanks.

  • Guest
    Reply
    |
    Apr 24, 2020

    Thank you for the additional information. We are reviewing your response and will update you shortly.

  • Guest
    Reply
    |
    Dec 14, 2019

    > You should do 2 builds, why not re-BIND for the second compile? Is this a problem?

    Yes this is a problem :
    - normal production machines are Z14
    - disaster recovery machines are Z13

    For benefit of Z14 in normal conditions and for compatibility with Z13 in recovery conditions we should compile twice (two loadmodule)... and in case of use of Db2 coprocessor we should bind twice (two dbrms, two packages, two collections, one plan) because recovery images come from production capture.
    At runtime, Db2 must select the right package corresponding with the Z14 or Z13 lodmodule.
    Two more packages in Db2 catalog, two more dbrms (two PDS), more administrative tasks (twice) for Db2 administrator.

  • Guest
    Reply
    |
    May 7, 2019

    Hi,

    We have a few comments related to your description. Our responses are marked with ">"

    The use of DB2 and CICS preprocessors is deprecated in favor of the coprocessors built into the Cobol compiler.
    >Separate Db2 precompiler and separate CICS translator are still fully supported

    We would like to be able to use the coprocessors as independent utilities, ie to transform the EXEC commands into Cobol instructions without triggering a Cobol compilation.
    > You could use SQL and NOCOMPILE options with MDECK to get transformed source in SYSMDECK

    For this, the option MDECK(NOCOMPILE), associated with the SQL or CICS options, should produce a Cobol source with translation of the EXEC commands to Cobol statements as the preprocessors DB2 and CICS would have done.
    > We provide MDECK with NOCOMPILE today

    No new DBRM built at second compilation : same DBRM used for BIND of first and second compilations ; no need to re BIND at previous stages.
    > You should do 2 builds, why not re-BIND for the second compile? Is this a problem?

    If the program contains SQL statements, recompiling with SQL option will produce a new DBRM with a new timestamp.
    In a build chain, with several stages of environments and concatenation of loadlibs, (moving programs from one loadlib to another during promotions, like SCLM or CA Endevor), this forces to redo the BIND PACKAGE of the upstream environments, then that functionally the DBRM is identical (the EXEC SQL commands are not modified between the compilations).
    > The DBRM would not be identical, we do not understand why BIND PACKAGE is not part of your normal application build process, and this build process should be done twice for the first time that a program is compiled with COBOL V6

  • Guest
    Reply
    |
    Mar 6, 2019

    This RFE is being investigated further.