ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
May I customize MetaCOBOL GPV macro to avoid GPV16E error
Article ID: 77704
DatacomDATACOM - ADCISCOMMON SERVICES FOR Z/OS90S SERVICESDATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OSCOMMON PRODUCT SERVICES COMPONENTCommon ServicesDatacom/ADCA ecoMeter Server Component FOCEASYTRIEVE REPORT GENERATOR FOR COMMON SERVICESINFOCAI MAINTENANCEIPCUNICENTER JCLCHECK COMMON COMPONENTMainframe VM Product ManagerCHORUS SOFTWARE MANAGERCA On Demand PortalCA Service Desk Manager - Unified Self ServicePAM CLIENT FOR LINUX ON MAINFRAMEMAINFRAME CONNECTOR FOR LINUX ON MAINFRAMEGRAPHICAL MANAGEMENT INTERFACEWEB ADMINISTRATOR FOR TOP SECRETXpertware
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: