Top
PowerCOBOL V11.0 User's Guide
FUJITSU Software

9.6.2 Passing Data between Forms

To pass data from one form to another use EXTERNAL data items. To use EXTERNAL data items, define the same item in the WORKING-STORAGE SECTIONs of both parent and child forms.

For example, if you want to pass an 8 byte item called FORM-DATA from the parent to the child form, you would code the following in the WORKING-STORAGE SECTIONs of both forms:

  01  FORM-DATA  IS GLOBAL EXTERNAL PIC X(8).