Friday, November 20, 2009

IMS RECOVER

Problem : Received IMS error at REBUILD phase of a IMS Database RECOVER .

“SHARED ACCESS TO VSAM DATA SET DBDNAME NOT ALLOWED BY CATALOG IM13”
“UNABLE TO OPEN DATA SET WITH DDNAME DBDNAME FOR REASON I,33

Resolution:The VSAM definition of the Database file as SHROPT( 3,3). Which is a shared file. So we need to have initial step CHANGE.DB with option NOAUTH before recovery step. And after REBUILD step again we need to add a STEP to Notify DBRC with option CHANGE.DB DBD(DBDNAME) AUTH

Additional Information:
CHANGE.DB DBD(DBDNAME) NOAUTH will mark the Database as no share in the DBRC.

CHANGE.DB DBD(DBDNAME) AUTH will again mark the database as sharable in DBRC.

Always when dealing with VSAM files with SHR (3,3) this need to be taken care.

No comments:

Post a Comment