Upgrading to COBOL 6.2.
Upgrading to COBOL 6.2.
Hi,
We're upgrading to COBOL 6.2, has someone done this before and would like to share any cheat sheet?
We're upgrading to COBOL 6.2, has someone done this before and would like to share any cheat sheet?
- Anuj Dhawan
- Founder
- Posts: 2803
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Upgrading to COBOL 6.2.
What is the current version of your COBOL?
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Upgrading to COBOL 6.2.
There really are no issues with upgrading COBOL. You look at which site-level tables are in use currently (such as IGYDOPT or IGYCOPT), run user mods to replicate them (with the changes to the parameters for the new release) in the new COBOL, install the new compile procedures from SIGYPROC, and run a few test compiles. It is usually a good idea to compare compile times, because sometimes the compiler's new release may use more memory or CPU time than the old release.
Re: Upgrading to COBOL 6.2.
We faced some music in production with COBOL 6.2, like:
Are there some references of errors like these?
Code: Select all
HIGH ORDER DIGIT POSITIONS IN THE SENDER MAY BE TRUNCATED THE SENDER MAY BE TRUNCATED IN THE MOVE TO RECEIVER "SRR678-D01-INV-TOTAL-AMT (NUMERIC-EDITED)
Code: Select all
HIGH ORDER DIGIT POSITIONS IN THE SENDER MAY BE TRUNCATED THE SENDER MAY BE TRUNCATED IN THE MOVE TO RECEIVER "SRR678-D01-CUST-PAID-AMT (NUMERIC-EDITED)
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Upgrading to COBOL 6.2.
Those are not errors and you are incorrect in referring to them as such. They are warnings telling you that truncation may occur (or did occur if they are run-time messages - your post is not clear about where the messages show up). Truncation will only occur when the sending variable has more significant digits than the receiving variable. Hence truncation can only be determined at run-time, although potential truncation can be identified during the compile.
Re: Upgrading to COBOL 6.2.
Thanks Robert.
But I don't recall that we observed them with COBOL 4.2. I was looking for a document which can tell what was not considered as warning in COBOL 4.2 but is considered in COBOL 6.2 but I did not find.
But I don't recall that we observed them with COBOL 4.2. I was looking for a document which can tell what was not considered as warning in COBOL 4.2 but is considered in COBOL 6.2 but I did not find.
Re: Upgrading to COBOL 6.2.
Have you tried the COBOL Migration Portal
https://www.ibm.com/support/knowledgece ... ortal.html
Hope this helps.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute