I am trying to run a Connect Direct process completely instream. This means that I do not want to call a seperate PROC containing the job instructions. I want everything to be done instream. The reason I am doing this is that I will generate the instructions in the step preceding the Connect Direct step.
Prior to connect direct, I generate a list of files that I want to transfer and use that to dynamically create a file in this format:
SIGNON
SUBMIT PROCESS PNODE=USBD000 SNODE=USB2MSP NOTIFY=%USER -
STEP1 COPY FROM(USBD000 -
DSN=KDBACHM.FINDFILE -
DISP=SHR) -
TO(DSN=KDBACHM.DELETEME -
STORCLAS=SCPROD -
DISP=(,CATLG))
STEP2 COPY FROM(USBD000 -
DSN=KDBACHM.FINDFILE -
DISP=SHR) -
TO(DSN=KDBACHM.DELETEME.ONE -
STORCLAS=SCPROD -
DISP=(,CATLG))
SIGNOFF
SUBMIT PROCESS PNODE=USBD000 SNODE=USB2MSP NOTIFY=%USER -
STEP1 COPY FROM(USBD000 -
DSN=KDBACHM.FINDFILE -
DISP=SHR) -
TO(DSN=KDBACHM.DELETEME -
STORCLAS=SCPROD -
DISP=(,CATLG))
STEP2 COPY FROM(USBD000 -
DSN=KDBACHM.FINDFILE -
DISP=SHR) -
TO(DSN=KDBACHM.DELETEME.ONE -
STORCLAS=SCPROD -
DISP=(,CATLG))
SIGNOFF
I don't want to transfer symbolics to a seperate PROC, as everything will be hardcoded already in the file I generated. Then I will use this as the sysin parameter for my connect direct DMBATCH step.
I suppose that's clear as mud so if you there is something I need to clarify just let me know.
Thanks!