In this example, a binary file (TEST.EXE) is being copied
from the OpenVMS platform to Microsoft Windows. In the next COPY
statement, the TEST.TXT file is copied from the Microsoft Windows
platform back to OpenVMS.
WINBIN PROCESS SNODE=W2S.4200.CDWOPS8 snodeid=(userid,pswd)
VMS2WIN COPY FROM ( DSN=DISK$AXP:[NDM_3400.INPUT]TEST.EXE DISP=SHR PNODE ) -
TO ( DSN="C:\output est.exe" -
SYSOPTS="datatype(binary)" DISP=RPL snode )
WIN2VMS COPY FROM ( DSN="C:\output est.exe" -
SYSOPTS="datatype(binary)" DISP=SHR snode ) -
TO ( DSN=DISK$AXP:[NDM_3400.OUTPUT]test.exe -
DCB=(DSORG=PS,RECFM=FB,LRECL=512) DISP=RPL PNODE )
|