Are user customizations to CA Datacom support for MetaCOBOL macros permissible?
Yes. The user can customize a copy of the product provided macros as they have done in the past.
In this specific example, the user had customized the GPV macro under CA MetaCOBOL+ Version 1.1 to handle a user program which referenced more that 40 DATAVIEW statements. After upgrade to CA Datacom support for MetaCOBOL Version 15.1, the translation failed with errors:
N99 GPV16E-MORE THAN 200 "REDEFINES,"
N99 INCREASE OCCURS FOR &[email protected]
N05 INVALID INDEX FOR VARIABLE TABLE
The user was able to customize a copy of the 15.1 GPV macro as was done with 1.1. That is, the &[email protected] variable in the GPV macro source was increased from value 200 to 500.
The program contains more than 200 REDEFINES clauses, exceeding the size of a macro table.
Perform the following actions: