I have a JCL which does the rename for a flat file using IDCAMS.
The JCL Looks as below:
//ZZ25TEST JOB 1,'RENAME',MSGCLASS=2,CLASS=Y,NOTIFY=&SYSUID
//*%%R S=RENAME1 P=IDCAMS R=*
//*%%C RENAME THE FILE FROM READY TO COMPLETE
//RENAME1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER ZZ25.READY -
This job failed couple of times with the error message:
IDC3028I DATA SET IN USE
IDC3009I ** VSAM CATALOG RETURN CODE IS 184 - REASON CODE IS IGG0CLEC-4
I saw in IBM Support site a post which is very much similar to my problem:http://www-01.ibm.com/support/docview.w ... g3T1010350
I am not able to understand the post in IBM Website.
I am sure that my dataset was not opened any where even then the failure message says" DATASET IN USE".
Can someone help me in overcoming this failure message?
Thanks for your help.