ALLOCATE command

The ALLOCATE command allocates a file (ddname) to an existing data set, a concatenation of existing data sets, or a temporary data set.

Read syntax diagramSkip visual syntax diagram
>>-ALLOCATE--FILE--ddname--| attributes |--;-------------------><

attributes

                  .-OLD-.                       
|--+-DSNAME--dsn--+-----+-------------------+-------------------|
   |              +-SHR-+                   |   
   |              '-MOD-'                   |   
   |            .-,---.                     |   
   |            V     |     .-OLD-.         |   
   +-DSNAME--(----dsn-+--)--+-----+---------+   
   |                        '-SHR-'         |   
   '-TEMP--TRACKS--(--primspc--,--secspc--)-'