May I customize MetaCOBOL GPV macro to avoid GPV16E error

book

Article ID: 77704

calendar_today

Updated On:

Products

CA Datacom - DB CA Datacom CA Datacom - AD CA Datacom - Server CA CIS CA Common Services for z/OS CA 90s Services CA Database Management Solutions for DB2 for z/OS CA Common Product Services Component CA Common Services CA Datacom/AD CA ecoMeter Server Component FOC CA Easytrieve Report Generator for Common Services CA Infocai Maintenance CA IPC Unicenter CA-JCLCheck Common Component CA Mainframe VM Product Manager CA Chorus Software Manager CA On Demand Portal CA Service Desk Manager - Unified Self Service CA PAM Client for Linux for zSeries CA Mainframe Connector for Linux on System z CA Graphical Management Interface CA Web Administrator for Top Secret CA CA- Xpertware

Issue/Introduction



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? 
 

Environment

z/OS
 

Resolution

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.
 

Additional Information

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:

&GLOBAL &[email protected](200) 99999 /* TDS ADDRESS OF REDEFINES
&GLOBAL &[email protected] = 200 999 /* OCCURENCES
&NOTE &( GPV16 &[email protected] - 'MORE THAN 200 "REDEFINES,"' &)