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