IBM Sterling Connect:Direct : CD Process Files: Difference between revisions

From Wiki
(Criou a página com "= Exemplo arquivo sample.cd = <nowiki> →‎* This sample process ... *: sample PROCESS SNODE=NODE1 step01 COPY FROM ( FILE=/tmp/file1.txt PNODE ) CKPT=2...")
 
No edit summary
Line 1: Line 1:
= CDzOS to B2B CD SA =
Copy a File from Connect:Direct for z/OS to a B2B Integrator Mailbox
COPYTOMB    PROCESS  SNODE=CDNODE1SA                              -
                        SNODEID=(B2B_UserID,B2B_Password)            -
                        PNODE=LA.ZOS
STEP1        COPY FROM (DSN=LA.3Q.SALES)                            -
                  TO  (FILE=/mailbox/B2B_UserID/Inbox        -
                        DISP=(NEW))
= Exemplo arquivo sample.cd =
= Exemplo arquivo sample.cd =



Revision as of 20:58, 21 March 2023

CDzOS to B2B CD SA

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

COPYTOMB     PROCESS   SNODE=CDNODE1SA                               -
                       SNODEID=(B2B_UserID,B2B_Password)             -
                       PNODE=LA.ZOS
STEP1        COPY FROM (DSN=LA.3Q.SALES)                             -
                 TO   (FILE=/mailbox/B2B_UserID/Inbox         -
                       DISP=(NEW))




Exemplo arquivo sample.cd

/*
* This sample process ...
* 
*/

sample PROCESS SNODE=NODE1

step01 COPY
  FROM (
    FILE=/tmp/file1.txt
    PNODE
  )

  CKPT=2M
  COMPRESS extended

  TO (
    FILE=/tmp/file1.delete
    SNODE
    DISP=rpl
  )

PEND;

Onde:

  • CKPT: Checkpoint a cada NN e a medida K/M


Ver também