Copy VSAM Files from VM to i5/OS

This Process copies a VSAM file from a Connect:Direct® for VM node to a sequential file on a Connect:Direct for i5/OS node. The DSN parameter on the COPY TO side specifies the destination object name based on the i5/OS standard file naming conventions and must be in single quotation marks. CKPT=0K turns off the checkpointing feature.

TEST1     PROCESS      SNODE=OS400                                 -
                       SNODEID=(USER1,PASSWD1)
******************************************************************
* STEP 2000 WILL COPY VSAM TO SEQUENTIAL  (VM TO OS400)
******************************************************************
STEP2000  COPY  FROM  (PNODE                                       -
                       LINK=(QACD,RQACD,RR,192)                    -
                       DSN=SCQA1.TESTFILE                          -
                       DCB=(DSORG=VSAM,LRECL=80)                   -
                       DISP=SHR)                                   -
                       CKPT=0K                                     -
                TO    (SNODE                                       -
                       DSN=’TEST1/PDS(STEP2000)’                   -
                       SYSOPTS=\"\                                 -
                               \ TYPE ( FILE ) \                   -
                               \ MAXMBRS ( *NOMAX ) \              -
                               \ RCDLEN ( 92 ) \                   -
                               \ TEXT ( ’ADDED BY PROCESS TEST1 \  -
                               \IN STEP2000’ ) \                   -
                               \"\                                 -
                       DISP=RPL)