Size of a physical file member

 

The SIZE parameter specifies the maximum number of records that can be placed in each physical file member (CRTPF, CHGPF, CRTSRCPF, and CHGSRCPF commands).

The following formula can be used to determine the maximum:

R + (I * N) where:

R

is the starting record count

I

is the number of records (increment) to add each time

N

is the number of times to add the increment
The defaults for the SIZE parameter are:

R

10 000

I

1000

N

3 (CRTPF command)

499 (CRTSRCPF command)

For example, assume that R is a file created for 5000 records plus 3 increments of 1000 records each. The system can add 1000 to the initial record count of 5000 three times to make the total maximum 8000. When the total maximum is reached, the system operator either stops the job or tells the system to add another increment of records and continue. When increments are added, a message is sent to the system history log. When the file is extended beyond its maximum size, the minimum extension is 10% of the current size, even if this is larger than the specified increment. Instead of taking the default size or specifying a size, you can specify *NOMAX.

 

Parent topic:

Specifying physical file and member attributes

 

Related reference


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