Module 11:- Library Facility and sub-programming
IS GLOBAL clause
- With reference to example given in below image, if you want to access working storage data item of PGM1 in PGM2 and PGM3 then declare them with ‘IS GLOBAL’ clause
- Syntax:-
ws_data_item_declaration IS GLOBAL.
- Example:-
O1 DATA-A PIC 9(03) IS GLOBAL.