Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

DYNAMIC clause

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

  1. The DYNAMIC clause may only be specified in level 01 record description entries in the WORKING-STORAGE SECTION.

  2. If the DYNAMIC clause is specified for a data item, no other clause may be specified for this data item.

General rule

  1. 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.