Previous Topic: OPTALLOC StepNext Topic: SECALLOC Step


PRIALLOC Step

Work File Usage For PRIALLOC Step:

Estimating Space for Work Files (PRIREAL, UNALLOC, PAGUTIL):

Work File(s)

REC FM

LRECL

BLKSIZE

Space Allocation

PRIREAL

FB

22

6138

# of PRIREAL = # of PRIOPTA records that fit on its target page.

UNALLOC

FB

34 or 34+length of longest integrated index symbolic key.

Multiple of LRECL closest to 6K.

# of UNALLOC records =

(# of PRIOPTA records) -

(# of PRIREAL records).

This is the number of overflow records.

PAGUTIL

F

8168

8168

# of PAGUTIL records =

(3 + (pages-in-copy-area-01/1020)

+ (pages-in-copy-area-02/1020)

+ (pages-in-copy-area-nn/1020))

Note: 'pages-in-copy-area' refers to the new subschema.

PAGUTIL (Example)

Since PAGUTIL records never overlap area boundaries, there is one PAGUTIL per 1020 pages in an area. If the area contains less than 1020 pages, one PAGUTIL record is allocated for that area. If the area boundaries are not divisible by 1020, an additional PAGUTIL record is allocated for the remainder of pages in that area.

Example:
AREA-1 has 200 pages
AREA-2 has 2000 pages
PAGUTIL = 3+ (200/1020) + (2000/1020)
= 3 + 1 + 2
= 6 records

Note: This file will not function properly if created with any other

record size, block size, or record format. Disregard message

"IEC161I 072-053…" which appears as an informational

message in z/OS or OS/390 when this is a VSAM file.