IEBGENER - Emptying dataset.
Posted: Fri Feb 24, 2006 11:43 am
Hi,
I am using the below JCL to clear the content of a PS file using IEBGENER. But, it is ending with an RC of 12.
Any suggestions why it is so? Also, let me know it is possible with IDCAMS?
I am using the below JCL to clear the content of a PS file using IEBGENER. But, it is ending with an RC of 12.
Code: Select all
//********************************************************************
//* EMPTY OUT THE DATASET USING IEBGENER *
//********************************************************************
//*
//STEP01 EXEC PGM=IEBGENER
//*
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//*
//SYSUT2 DD DSN=XXXXM.XXXXXS.XXXY,DISP=SHR
//SYSUT1 DD DUMMY
//*
//SYSIN DD DUMMY