Summary table

This section is intended to help you use the DFHFCT TYPE=FILE macro to define your files. Each TYPE=FILE instruction describes the characteristics of the file, and of the data set referenced by the file.

Table 1. DFHFCT TYPE=FILE instructions for BDAM files
  Blocked with key Blocked without key Unblocked with key Unblocked without key
BLKKEYL R R  
SRCHM O O  
VERIFY O O O O
RELTYPE R1 R1 R1 R1
LRECL R R R R
BLKSIZE R3 R R2 R
KEYLEN R5      
RKP R4   R4  
RECFORM O O O O
FILSTAT O O O O
SERVREQ R6 O R6 O
Notes:
R
Required
O
Optional
  1. Required if relative type addressing is to be used.
  2. If SERVREQ=BROWSE or SERVREQ=ADD, this value must be BLKSIZE + BLKKEYL for unblocked records.
  3. If SERVREQ=BROWSE or SERVREQ=ADD, this value must be (LRECL x blocking factor) + BLKKEYL for blocked records.
  4. Required if key exists within logical records.
  5. Required if deblocking by key for BDAM.
  6. SERVREQ=KEY is required.