//QMFBATCH EXEC PGM=IKJEFT01,DYNAMNBR=30,TIME=180
//STEPLIB DD DSN=DB2.DB2T.DSNLOAD,DISP=SHR
// DD DISP=SHR,DSN=SYS2.QMF.SDSQLOAD
//ISPPROF DD DISP=(,DELETE),SPACE=(CYL,(1,1,1)),UNIT=WORK,
// DCB=(DSORG=PO,RECFM=FB,BLKSIZE=6320,LRECL=80)
//SYSPROC DD DSN=STSO.SPFDDB.ISPCLIB,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
%QMFALLOC QMFVERS(QMF910)
ISPSTART PGM(DSQQMFE) +
PARM(M=B,R=10240,S=DB2T,I=TEST_PROC(<value>))
//STEPLIB DD DSN=DB2.DB2T.DSNLOAD,DISP=SHR
// DD DISP=SHR,DSN=SYS2.QMF.SDSQLOAD
//ISPPROF DD DISP=(,DELETE),SPACE=(CYL,(1,1,1)),UNIT=WORK,
// DCB=(DSORG=PO,RECFM=FB,BLKSIZE=6320,LRECL=80)
//SYSPROC DD DSN=STSO.SPFDDB.ISPCLIB,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
%QMFALLOC QMFVERS(QMF910)
ISPSTART PGM(DSQQMFE) +
PARM(M=B,R=10240,S=DB2T,I=TEST_PROC(<value>))
Now In order to pass the value to above PROC (TEST_PROC), one way that I know, to give the value at the place <value> is to hard code the value here or through a variable in JCL that gets the value from scheduler etc. But as a part of the requirement, I need to get values from a previous step (step 1) and have to use that value as an input to QMF Proc step(step-2). And It does not accept any dataset name(at the <value> place). Please suggest me how can I do that.