May I customize MetaCOBOL GPV macro to avoid GPV16E error
Article ID: 77704
CA Datacom - DBCA DatacomCA Datacom - ADCA Datacom - ServerCA CISCA Common Services for z/OSCA 90s ServicesCA Database Management Solutions for DB2 for z/OSCA Common Product Services ComponentCA Common ServicesCA Datacom/ADCA ecoMeter Server Component FOCCA Easytrieve Report Generator for Common ServicesCA Infocai MaintenanceCA IPCUnicenter CA-JCLCheck Common ComponentCA Mainframe VM Product ManagerCA Chorus Software ManagerCA On Demand PortalCA Service Desk Manager - Unified Self ServiceCA PAM Client for Linux for zSeriesCA Mainframe Connector for Linux on System zCA Graphical Management InterfaceCA Web Administrator for Top SecretCA CA- Xpertware
May I customize MetaCOBOL GPV macro to avoid GPV16E error? Under CA MetaCOBOL+ 1.1, we customized the GPV macro to increase &[email protected] variable from 200 to 500 for some programs with several Datacom DATAVIEWs. May we do the same with CA Datacom support for MetaCOBOL version 15.1?
Yes, the CA Datacom support for MetaCOBOL version 15.1 macros can be user customized. Be sure not to change the SMP/e target macros (MCT#*) in the CABDSAMP library. Member MCT#GPV should be copied and modified in your source macro library.
The errors that occur during the translation if the increase is needed are:
N99 GPV16E-MORE THAN 200 "REDEFINES," N99 INCREASE OCCURS FOR &[email protected] N05 INVALID INDEX FOR VARIABLE TABLE
Customize a copy of CADBSAMP member MCT#GPV for your use as the GPV macro. The increase from 200 will be in these GPV macro statements: