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

This Process, submitted from the OpenVMS node, copies the OpenVMS file JAN.EXE in directory [ACCT.COM] on device DUC4 to data set RSMITH.ACCTJAN at the z/OS node. BINARY must be specified as part of the SYSOPTS parameter so that ASCII to EBCDIC translation will not occur.

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

To submit this Process from the z/OS node (the PNODE is a z/OS node), the following syntax changes must be made:

  • Enclose the OpenVMS file specification between single or double quotation marks to allow special characters to be passed to the OpenVMS node.
  • Change the brackets ([ ]) to less than and greater than signs (< >).

The modified Process is as follows:

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