Copy a Data Set from a z/OS Node to an Executable File on an OpenVMS Node

This Process, submitted from the OpenVMS node, copies the z/OS data set RSMITH.ACCTJAN to file specification DUC4:[ACCT.COM]JAN.EXE at the OpenVMS node. For the appropriate file attribute information, the SYSOPTS parameter TYPE=IMAGE must be specified. Also, BINARY must be specified as part of the SYSOPTS parameter so that EBCDIC to ASCII translation will not occur.

PROCESS1  PROCESS      SNODE=CD.OS390                    -
                       SNODEID=(RSMITH,ROGER)
STEP01    COPY  FROM  (DSN=RSMITH.ACCTJAN SNODE  )       -
                TO    (DSN=DUC4:[ACCT.COM]JAN.EXE PNODE  -
                       SYSOPTS="TYPE=’IMAGE’ BINARY"     -
                       DISP=RPL)