Copy a File from Connect:Direct for Microsoft Windows to a B2B Integrator Business Process

In this example, the PNODE is a Connect:Direct® for Microsoft Windows server (CD_WIN_CENTRAL) copying its source file (merch.txt) to the SNODE, which is, in this case, a B2B Integrator-Connect:Direct Server Adapter named SICDSA. The destination file to be created on the B2B Integrator side will be called returns.dly and copied to the UpdateInventory business process as the Primary Document.

CPYFMWIN  PROCESS
                   SNODE=SICDSA
                   SNODEID=(myUserID,myPassword)
                   PNODE=CD_WIN_CENTRAL
STEP1     COPY
                FROM  (
                       FILE=C:\returns\merch.txt
                      )
                TO    (
                       FILE=/businessprocess/UpdateInventory/returns.dly
                       DISP=RPL
                      )
 PEND