Submit a Microsoft Windows Process from a UNIX Node

This Process copies a binary file from a Microsoft Windows node to a UNIX node. If the copy is successful, a submit of another process is performed on the CD.WIN node by setting the subnode parameter to SNODE.

proc1  process      snode=CD.WIN
                    &file1="d:\estdat\frunix.cfg"
                    &file2="/tdat/frnt.cfg"
copy1  copy  from  (file=&file1
                    sysopts="datatype(binary)"
                    snode)
             to    (file=&file2
                    pnode)
       if  (copy1 eq 0)  then
subpr1 submit  file="d:\estdat\nt2nwcp.cdp"
               Subnode=snode
       eif
   pend