ATTRIB

Allows DCB parameters to be dynamically defined and named for use in subsequent ALLOCATE commands.

The following example sets up an attribute called DATA1 that can be used in conjunction with an ALLOCATE command to provide DCB information for a DD name.

ATTRIB DATA1 BLKSIZE(32720) LRECL(80) DSORG(PS) RECFM(FB)

Operands Support

The following operands are supported for ATTRIB:

BLKSIZE LRECL TRTCH
DSORG RECFM

These operands produce identical output for SQL and VSAM datasets.

The following are parsed and ignored:

BFALN BUFOFF KEYLEN
BFTEK DEN NCP
BUFL ERROPT OPTCD
BUFNO EXPDT RETPD