Copy a VSAM File from VM to a Key-Sequenced HP NonStop File

The following Process copies a VM VSAM file to a key-sequenced HP NonStop file. The key-sequenced file with extents of 100 pages each is created as indicated by the SYSOPTS parameter. Because the VM file name is not placed between quotation marks, the IBM® Connect:Direct® system assumes the file is a VSAM file.

HPNNSTP6  PROCESS    PNODE=CD.VM.DALLAS                -
                     SNODE=BOSTON.01 NOTIFY=%USER      -
                     SNODEID=(127.210,SMITH)
SEND01  COPY  FROM  (DSN=ABC.TST                       -
                     LINK=(IVVB6,RIVVB6,RR,200))       -
              TO    (DSN=$C.ABC.VSAMERR SNODE          -
                     SYSOPTS=\"’SET EXT(100 100)’\ ||  -
                             \ ’SET KEYLEN 8’\ ||      -
                             \ ’SET REC 880’\ ||       -
                             \ ’SET TYPE K’"\          -
                     DISP=(RPL))