Copy a File from UNIX HP to a Controlled Disk Data Set on VSE Using LU6.2

Use this Process to copy a file from UNIX HP into a CA-DYNAM/D or CA-EPIC controlled disk data set using the LU 6.2 protocol. The disk data set has already been defined to the appropriate system catalog. DCB information will be provided by the SNODE. This Process uses symbolic values.

UNX2DYD1 PROCESS PNODE=SC.VSE.USER01                                           -
                 SNODE=SC.UNIX.NODE                                            -
                 &VSEDSN=USER01.TEST.UNIXFILE
STEP0001 COPY    TO    ( PNODE                                                 -
                       DSN=&VSEDSN                                             -
                       UNIT=DLBLONLY                                           -
                       )                                                       -
                 FROM  ( SNODE                                                 -
                       DSN=’/home/fremont/ddunc1/750070/arx02.dat’             -
                       SYSOPTS=":xlate=no:strip.blanks=no:"                    -
                       )                                                       -
                 CKPT=1M                                                       -
                 COMPRESS
STEP0002 IF    (STEP0001 EQ 0) THEN
                    RUN TASK (PGM=DMNOTIFY,                                    -
                        PARM=(’GOOD’,&VSEDSN))                                 -
                        PNODE
         ELSE
                    RUN TASK (PGM=DMNOTIFY,                                    -
                        PARM=(’FAIL’,&VSEDSN))                                 -
                        PNODE
         EIF