Retrieve a File from a B2B Integrator Mailbox to Connect:Direct for Microsoft Windows

In this example, the PNODE is a Connect:Direct® for Microsoft Windows server (WIN_CD2) retrieving a file from the SNODE, which is, in this case, a B2B Integrator-Connect:Direct Server Adapter named CENTRAL_CDSA. The source file (annual.rpt) is copied from the Chicago mailbox on B2B Integrator.The destination file to be created on the IBM® Connect:Direct server is called annual.txt.

GETANRPT  PROCESS 
                   SNODE=CENTRAL_CDSA
                   SNODEID=(myUserID,myPassword)
                   PNODE=WIN_CD2
STEP1     COPY
                FROM  (
                       FILE=/mailbox/Chicago/annual.rpt
                       SNODE
                      )
                TO    (
                       FILE=C:\acctg\annual.txt
                       PNODE
                       DISP=RPL
                      )
 PEND