File Allocation Using a TYPE File (z/OS to z/OS)

The following Process uses a TYPE file to allocate a data set; therefore, UNIT, VOLUME, and SPACE parameters are not specified within the COPY statement.

The destination data set is allocated using definitions specified in the TYPE record, PSFILE.

COPYSEQ PROCESS      PNODE=CD.DALLAS                -
                     SNODE=CD.CHICAGO REQUEUE=YES
STEP01  COPY  FROM  (DSN=DAL.PSDATA)                -
                     CKPT=10M                       -
                     COMPRESS                       -
              TO    (DSN=CHI.PSDATA                 -
                     TYPE=PSFILE)

The following parameters make up the TYPE record, PSFILE. This TYPE record must be present at the destination node (SNODE).

   DISP=(NEW,CATLG)                       -
   DCB=(BLKSIZE=3120,LRECL=80,DSORG=PS)   -
   UNIT=3380                              -
   VOL=(SER=SYS009)                       -
   SPACE=(4096,(200,40),,,ROUND)

You can also place the IOEXIT parameter in a TYPE entry. Any parameters specified on the COPY statement take precedence over those coded in the TYPE file. See the appropriate IBM® Connect:Direct® platform’s documentation for details on setting up entries in the TYPE file.