Previous Topic: RDL Position Function

Next Topic: Guide to Correct RDL Specifications


General Restrictions on RDL Use

The RDL is employed to construct the File Descriptor Table (FDT). The FDT has a maximum size, and there is a corresponding upper limit on the number of RDL specifications allowed for any one file. In the unlikely event that this maximum is reached, a user abend 4 occurs and the RDL specifications must be reduced by combining adjacent field definitions to form group fields. The space in the FDT required to contain the RDL specifications can be calculated using the following table.

RDL Specification

Space Required (In Bytes)

GA, PD, ZL, ZR

6

C1, C2, C3, CS

18

MA, MB

92 for first occurrence. 54 for each subsequent occurrence

UN

14

N

20

v

48

VP, VZ

40

S, X

26

First ( in a condition group series

72

Each remaining ( in a condition group series

54

Fn, where n < 128

4

Fn, where n > 128

38

FVS

46

VER, Dc

88

P

12

P + n

18

P + VS

8

Fixed repetition group

16

Variable repetition group

30

The space required must be summed according to RDL specifications as coded, and the total cannot exceed 2800. Consider the following example:

V2-4,GAF2,C1FVS.

Using the following table, the space required for these RDL specifications is as follows and well within the 2800 limit:

V2-4

 

GA

 

F2

 

C1

 

FVS

 

total

48

+

6

+

4

+

18

+

46

=

122