Loading...
Select Version
Function
The DYNAMIC clause enables the dynamic provision of memory in a scope defined by the user.
Format
01 data-name IS DYNAMIC.
(level-number and data-name are not part of the DYNAMIC clause; they are specified here simply to improve clarity.)
Syntax rules
The DYNAMIC clause may only be specified in level 01 record description entries in the WORKING-STORAGE SECTION.
If the DYNAMIC clause is specified for a data item, no other clause may be specified for this data item.
General rule
The data item to which the DYNAMIC cause is applied is set up in main memory at object time and begins on a 4-Kbyte boundary.