Copy Binary Files from Microsoft Windows to HP NonStop (OSS)

This Process illustrates how to ensure data integrity when copying between a Microsoft Windows system and an HP NonStop (OSS) node. The destination in STEP01 and source in STEP02 both have sysopts specified to denote a binary transfer.

BINARY     PROCESS   SNODE=W2S.4100.Cdwops8                       -
           SYMBOL    &FILE1='/home/qatest/input/ndmsrvr'
           SYMBOL    &FILE2='c:\output\binary'
           SYMBOL    &FILE3='/home/qatest/output/win/binary'
RUNWIN     RUN TASK  (PGM="WindowsNT")              SNODE         -
                      SYSOPTS="CMD(ERASE &FILE2)"
STEP01     COPY TO   (DSN=&FILE2     SNODE                        -
                      DISP = RPL                                  -
                      SYSOPTS="datatype(binary)")                 -
           FROM      (DSN=&FILE1     PNODE                        -
                      DISP = SHR)
STEP02     COPY FROM (DSN=&FILE2     SNODE                        -
                      DISP = SHR                                  -
                      SYSOPTS="datatype(binary)")                 -
           TO        (DSN=&FILE3     PNODE                        -
                      DISP = RPL)