Retrieve a File from a B2B Integrator Mailbox to Connect:Direct for z/OS

In this example, the PNODE is a Connect:Direct® for z/OS® system (CD.ZOS.PROD) retrieving a file from the SNODE, which is, in this case, a B2B Integrator-Connect:Direct Server Adapter named SICDSA. The source file (mainframe.txt) is copied from the Outbound mailbox on B2B Integrator. The destination file to be created on the IBM® Connect:Direct system is called DAILY.DAT.

GETDAILY  PROCESS      SNODE=SICDSA                          -
                       SNODEID=(myUserID,myPassword)         -
                       PNODE=CD.ZOS.PROD
STEP1     COPY  FROM  (FILE=/mailbox/Outbound/mainframe.txt  -
                       SNODE )                               -
                TO    (DSN=DAILY.DAT                         -
                       PNODE                                 -
                       DISP=(NEW)	)