Page 1 of 1
Upgrading to COBOL 6.2.
Posted: Tue Oct 08, 2019 1:49 pm
by Dino
Hi,
We're upgrading to COBOL 6.2, has someone done this before and would like to share any cheat sheet?
Re: Upgrading to COBOL 6.2.
Posted: Fri Oct 11, 2019 8:38 pm
by Anuj Dhawan
What is the current version of your COBOL?
Re: Upgrading to COBOL 6.2.
Posted: Sun Oct 13, 2019 11:06 am
by Dino
COBOL 4.2
Re: Upgrading to COBOL 6.2.
Posted: Sun Oct 13, 2019 6:03 pm
by Robert Sample
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.
Posted: Sun Dec 13, 2020 11:18 am
by Dino
We faced some music in production with COBOL 6.2, like:
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)
Are there some references of errors like these?
Re: Upgrading to COBOL 6.2.
Posted: Sun Dec 13, 2020 6:37 pm
by Robert Sample
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.
Posted: Sun Dec 20, 2020 11:14 am
by Dino
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.
Re: Upgrading to COBOL 6.2.
Posted: Thu Jan 07, 2021 4:40 am
by lchui
Dino wrote: Sun Dec 20, 2020 11:14 am
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.
Have you tried the COBOL Migration Portal
https://www.ibm.com/support/knowledgece ... ortal.html
Hope this helps.