Hi,
One urgent help required.
I need to create a JCL which will receive multiple datasets at one go. (this will be a replace of TSO Receive command). In TSO receive for multiple datasets command need to be executed multiple times.
Can somebody help me out in creating that JCL where using Control Card I can receive multiple datasets, at one go, from another mainframe?
Control card can be used to get the names of the input datasets to be received.
Also another requirement is, the order in which the datasets xmitted, should not affect the order in which it was received. (i.e.) we should be able to receive the datasets in any order.
I have managed to write one where one dataset can be received (as shown below). But can somebody help me out in receiving multiple at one go?
I would be really obliged if somebody can help me on this regard.
//RCVJOB JOB (AYANRCV)
//*
//*
//RECV EXEC PGM=IKJEFT01,DYNAMNBR=20
//DDINP DD DISP=SHR,DSN=HLQ.INPUT.XMIT
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
RECEIVE +
INDDNAME(DDINP) +
NODISPLAY +
NONAMES
DATASET(HLQ.AYAN.TARGET)
/*