Storage allocation

 

The ALLOCATE parameter controls the storage that is allocated to each member when it is added to a physical file (CRTPF, CHGPF, CRTSRCPF, and CHGSRCPF commands).

The storage allocated is large enough to contain the initial record count for a member. If you do not allocate storage when the members are added, the system will automatically extend the storage allocation as needed. You can use the ALLOCATE parameter only if you specified a maximum size on the SIZE parameter. If SIZE(*NOMAX) is specified, then ALLOCATE(*YES) cannot be specified.

 

Parent topic:

Specifying physical file and member attributes

 

Related reference


Change Physical File (CHGPF) command
Change Source Physical File (CHGSRCPF) command
Create Physical File (CRTPF) command
Create Source Physical File (CRTSRCPF) command