A newbie tries to create a new DS using DD
Posted: Fri Nov 18, 2011 10:52 pm
Guys, i understand that this question is a newbie one, but i really need your help!
What's wrong with this job? Why it creates data set that is empty? I just need to know what to look at to discover this mystery!
//DEXTR JOB
//RUNPROG EXEC PGM=IKJEFT01,DYNAMNBR=20
//STEPLIB DD DSN=DB2.V9R1.SDSNLOAD,DISP=SHR
//ORDERDAT DD DSN=XXXXX.FFFF.EEEEE,DISP=(NEW,CATLG),
// SPACE=(CYL,(1,1)),DCB=(RECFM=FB,BLKSIZE=32000)
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
DSN SYSTEM (DB1S)
RUN PROG (DEXTR)-
PLAN (DEXTR)-
LIB ('DBS.SELL.PART.LOAD')
END
/*
//RUNPROG EXEC PGM=IKJEFT01,DYNAMNBR=20
//STEPLIB DD DSN=DB2.V9R1.SDSNLOAD,DISP=SHR
//ORDERDAT DD DSN=XXXXX.FFFF.EEEEE,DISP=(NEW,CATLG),
// SPACE=(CYL,(1,1)),DCB=(RECFM=FB,BLKSIZE=32000)
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
DSN SYSTEM (DB1S)
RUN PROG (DEXTR)-
PLAN (DEXTR)-
LIB ('DBS.SELL.PART.LOAD')
END
/*
What's wrong with this job? Why it creates data set that is empty? I just need to know what to look at to discover this mystery!