Sharing data in nested programs
Some applications
consist of nested
programs, that is, programs that are contained in other programs.
Level-01 data items can include the GLOBAL
attribute.
This attribute allows any nested program that includes the declarations
to access these data items.
About this task
A nested program can also access data
items in a sibling program (one at the same nesting level in the same
containing program) that is declared with the COMMON
attribute.