Thursday, November 19, 2009

IMS GSAM File -Space Probelm

Problem: Job abend due to space problem in the GSAM File. GSAM File had used only TRK(1,1), even though the allocation for the GSAM File was TRK(470, 470).

Reason: Space archive job runs to free unused space in the sytem had run before the abended job was restarted.

Solution:Create a new version of GSAM GDG file by coping the old GSAM file data with RECFM=U (This is done so the GSAM is copied as it is, no formatting is done) and in the next step the RECFM is changed to FB. We need the overrides the GSAM file reference to use the new file or you can rename new the GSAM File to the old file name and use it.

No comments:

Post a Comment