IBM Data & AI

 Welcome to the IBM Data & AI Ideas Portal for Clients! 

We welcome and appreciate your feedback on IBM Data & AI Products to help make them even better than they are today!
Before you submit an idea, please perform a search first as a similar idea may have already been reported in the portal.  If a related idea is not yet listed, please create a new idea and include with it a description which includes expected behavior as well as why having this feature would improve the service and how it would address your use case.
IBM Employees:
Clients:
  • Our team welcomes any feedback  and suggestions you have for improving our offerings / products!  This forum allows us to connect your offering / product improvement ideas with IBM product and engineering teams.
  • If you have not registered on this portal please click on the following link and register.  To complete registration you will need to open the email you will receive from Aha to confirm your identity. http://ibm.biz/IBM-Data-and-AI-Portal-Register
Additional Information:
  • The shorter URL for this site is: https://ibm.biz/IBM-Data-and-AI-Ideas
  • To view our roadmaps: http://ibm.biz/Data-and-AI-Roadmaps
  • Reminder: This is not the place to submit defects or support needs, please use normal support channel for these cases
  • Please do not use the Ideas Portal for reporting bugs - we ask that you report bugs or issues with the product by contacting IBM support.

Support for Bind avoidance when using Enterprise Cobol with co-processor

The basic idea of Bind Avoidance is to exchange the consistency token in the executing code from the current version to the previous which means that no package bind will be necessary.

Traditionally the Db2 pre-compiler has been used to pre-process the embedded SQL before doing the compilation. This means that it was quite easy to do the exchange of consistency token if needed since it could be done in the source code. When the Db2 coprocessor was introduced however this was no longer possible since the coprocessor is not a separate step but integrated with the COBOL compiler. This meant that the exchange was changed to do a separate update of the generated object code instead. After the release of Enterprise COBOL V5 the format of the object code was changed however which meant that this was no longer possible without updating that utility that executed the exchange. Unfortunately this has not been done by IBM.

In Enterprise COBOL V6 new syntax was introduced that the pre-compiler cannot parse so if that syntax is used you are forced to use the coprocessor and, starting from V6.3, if you need 64 bit addressing or newer COBOL language such as floating comment delimiters, JSON  and XML syntax,  your only option is the coprocessor since the pre-compiler generates invalid COBOL code.

 

What this boils down to is to:

  • If you need and want Bind Avoidance – use Db2 pre-compiler
  • If you use Enterprise COBOL V5 and better – Bind Avoidance may not be an option depending on your COBOL source and thus Bind Avoidance is not possible


    Why is it useful?

    Bind avoidance reduce the number om binds dramatically, save resources and reduce the size of your DB2 catalog and directory.

  • Catharina Lindberg
  • Feb 11 2020
  • Needs review
Why is it useful?
Who would benefit from this IDEA? Db2 users developing/maintaining/operating Cobol-Db2 applications
How should it work?
  • Update the pre-compiler to be up to standard with the latest Enterprise COBOL syntax to still be able to use the “old-school” Bind Avoidance, or
  • Make the object code consistency token exchange possible in object code generated by Enterprise COBOL V6 (and better)
Idea Priority High
Priority Justification
Customer Name Swedbank
Submitting Organization
Submitter Tags
  • Attach files

NOTICE TO EU RESIDENTS: per EU Data Protection Policy, if you wish to remove your personal information from the IBM ideas portal, please login to the ideas portal using your previously registered information then change your email to "anonymous@euprivacy.out" and first name to "anonymous" and last name to "anonymous". This will ensure that IBM will not send any emails to you about all idea submissions