Pro*COBOL: Release 1.8 vs 10.2
We are in the process of upgrading from 9.2.0.6 to 10.2.0.4 and try to determine the differences
in pro*cobol.
In version 9i (Pro*COBOL: Release 1.8.77.6.0 ) the precompiled code has a different syntax
compared with 10.2.0.4 (Pro*COBOL: Release 10.2.0.4.0)
Differences:
- 9i - Don't put the GLOBAL for example:
01 SQLCA .
01 SQLFPN .
01 SQLEXD .
- 10g - Put GLOBAL for example:
01 SQLCA GLOBAL.
01 SQLFPN GLOBAL.
01 SQLEXD GLOBAL.
Our progrmas connect to two databases at the same time and in 9i pro*cob works well. In 10g
version I am getting following error: ORA-00942: table or view does not exist.
The situation is that the code confuses with two databases and connects with the wrong database.