Copy a File from Connect:Direct for z/OS to a B2B Integrator Business Process

In this example, the PNODE is a Connect:Direct® for z/OS® server (CD.MF6) copying its source file (the ORDERS.BATCH data set) to the SNODE, which is, in this case, a B2B Integrator-Connect:Direct Server Adapter named SI_BRANCH. The destination file to be created on the B2B Integrator side will be called branch.ord and copied to the SendToBilling business process as the Primary Document.

COPY2BP PROCESS SNODE=SI_BRANCH                                  -
                SNODEID=(myUserID,myPassword)                    -
                PNODE=CD.MF6
STEP1 COPY FROM (DSN=ORDERS.BATCH)                               -
           TO   (FILE=/businessprocess/SendToBilling/branch.ord  -
                 DISP=(NEW))