Copy a Text File from OpenVMS to UNIX and Back to OpenVMS

In this example, a text file (TIME_TEST.TXT) is being copied from the OpenVMS platform to UNIX. In the next COPY statement, the TIME_TEST.TXT file is copied from the UNIX platform back to OpenVMS and being renamed UX_TIME_TEST.TXT.

UXTXT   PROCESS       SNODE=Qasol103700 Snodeid(qatest,qatest)
VMS2UX  COPY  FROM  ( DSN=DISK$AXP:[NDM_3400.INPUT]TIME_TEST.TXT DISP=SHR pnode )     -
              TO    ( DSN="/tmp/TIME_TEST.TXT" DISP=RPL snode )
UX2VMS  COPY  FROM  ( DSN="/tmp/TIME_TEST.TXT" DISP=SHR snode )                       -
              TO    ( DSN=DISK$AXP:[NDM_3400.OUTPUT]UX_TIME_TEST.TXT DISP=RPL pnode )