Overriding File Attributes

If you specify file attributes in conjunction with the TYPE parameter on the COPY statement, the parameters in the COPY statement override similar parameters in the Type record. Use this functionality when you want to override a specific Type record subparameter.

Type Keys

Four predefined Type keys are provided to communicate with other IBM® Connect:Direct® nodes:

  • TEXT
  • DF
  • DF2
  • BINARY

The four Type keys contain file allocation information as defined in the following figure.

TYPE KEY => TEXT
    DISP=(RPL,CATLG,DELETE)
    DCB=(DSORG=PS,LRECL=255,BLKSIZE=2554,RECFM=VB)
    SPACE=(TRK,(10,10))
    UNIT=SYSDA

TYPE KEY => DF (Data File)
    DISP=(RPL,CATLG,DELETE)
    DCB=(DSORG=PS,LRECL=255,BLKSIZE=2554,RECFM=VB)
    SPACE=(TRK,(10,10))
    UNIT=SYSDA

TYPE KEY => DF2 (Data File 2)
    DISP=(RPL,CATLG,DELETE)
    DCB=(DSORG=PS,LRECL=80,BLKSIZE=3120,RECFM=FB)
    SPACE=(TRK,(10,10))
    UNIT=SYSDA

TYPE KEY => BINARY
    DISP=(RPL,CATLG,DELETE)
    DCB=(DSORG=PS,BLKSIZE=6144,RECFM=U)
    SPACE=(TRK,(10,10))