Copy an HP NonStop Key-Sequenced File to a Sterling Connect:Direct for OpenVMS Node

This Process, submitted from the Sterling Connect:Direct® for HP NonStop node, copies a key-sequenced file to the Sterling Connect:Direct for OpenVMS node. When Processes are submitted from Sterling Connect:Direct for HP NonStop to Sterling Connect:Direct for OpenVMS nodes, OpenVMS file names must be in single quotation marks. Note that COMPRESS is coded between the FROM and TO clauses of the COPY statement.

SEND1   PROCESS      PNODE=CD.HPNONSTOP                      -
                     SNODE=CD.VMS
STEP01  COPY  FROM  (PNODE FILE=$B.TESTF.KSDS                -
                     DISP=SHR)                               -
                     COMPRESS PRIMECHAR=C’*’                 -
              TO    (SNODE FILE=’[DUC4:-DATA.FILE]KSDS1.DAT’ -
                     DCB=(DSORG=KSDS                         -
                     LRECL=100                               -
                     KEYLEN=10                               -
                     RECFM=F)                                -
                     DISP=RPL)