View previous topic :: View next topic
|
Author |
Message |
ravindran.d
New User
Joined: 04 Apr 2007 Posts: 26 Location: chennai
|
|
|
|
hello,
when i try to restart the job i got U0271 abend..it shows An I/O error was detected while purging buffers during a checkpoint operation
please let me know how to solve the problem
thanks in advance |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
What does the IMS manual say ?
( rethoric question, I looked it up for You )
Quote: |
DFS0530I DFSZDC00 I/O ERROR DBDNAME=dbdname DDNAME=ddname GBCRTNCD=xxxx
Explanation: The GSAM controller has detected an error writing out buffers during a purge or checkpoint operation.
xxxx is the 2-byte field GBCRTNCD in hexadecimal. Reference GB DSECT for definition of the GBCRTNCD field bits.
System Action: GSAM terminates with abend U0271.
Programmer Response: Use a data recovery procedure to reconstruct the data set in error.
Module: DFSZDC00 |
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFSMC2F7/CCONTENTS?SHELF=DFSSHCF9&DN=GC27-1302-04&DT=20070628140507 |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Was the GSAM file pre-allocated and opened/closed to set an EOF mark? What about the DCB?
An allocated GSAM dataset which hasn't had OPEN or ISRT calls issued has
undefined content. BSAM processing may churn through whatever blocks were on those disk tracks, eventually finding an EOF mark in a random location.
QSAM would probably fail with an error due to blocksize, recfm and lrecl
mismatch on the first block. |
|
Back to top |
|
|
ravindran.d
New User
Joined: 04 Apr 2007 Posts: 26 Location: chennai
|
|
|
|
hello ,
let i tell u ..wat i have done..i just run the job with normal checkpoin (for normal run).. the job runs successfully..again for set the checkpoint with abend checkpoin the program abended .after that i restart the job with restart checkpoint i got this (u0271) abend..
please let me know whether this is ims database error or file error..
how can i solve ?
regrds
ravindran.d |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Again; reconstruct the GSAM file and make sure there's an EOF mark issuing an open/close. |
|
Back to top |
|
|
ravindran.d
New User
Joined: 04 Apr 2007 Posts: 26 Location: chennai
|
|
|
|
hi Bitneuker ,
Thanks. I solved this abend.
regards
Ravindran.d |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Could you also tell us how? |
|
Back to top |
|
|
ravindran.d
New User
Joined: 04 Apr 2007 Posts: 26 Location: chennai
|
|
|
|
hi,
In my job first step i am creating the files.when i run the job the job was abended and it writes some records in that files.Again when i restart the job i have to comment the first step. But without comment the first step i restarted the job.so I got u0271 abend. because I/O problem so i comment the step and restart the job it run successfully. |
|
Back to top |
|
|
ravindran.d
New User
Joined: 04 Apr 2007 Posts: 26 Location: chennai
|
|
|
|
hi,
Please,let me know any queries? |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
I understand that, after the abend, you allocated the GSAM-file in the first step (emptying the filled one) and in the next step performed a restart on this new allocated empty GSAM-file. Is this correct? If so it explains the failure; checkpoint for restart can't be found. |
|
Back to top |
|
|
ravindran.d
New User
Joined: 04 Apr 2007 Posts: 26 Location: chennai
|
|
|
|
No need create the file after the job abend.the same file is using for restart because the job should writes the record in the same file(append). |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Might be but when you reconstructed the file in the first step after the abend it was empty (not initialized so no EOF-mark). That's what I tried to tell you earlier. |
|
Back to top |
|
|
ravindran.d
New User
Joined: 04 Apr 2007 Posts: 26 Location: chennai
|
|
|
|
Bitneuker,
Thanks for ur valid information.
regards
ravindran.d |
|
Back to top |
|
|
krishna_mf
New User
Joined: 31 Jan 2007 Posts: 56 Location: banglore
|
|
|
|
Hi,
I am also facing the same probelm while restart.
But in my case. job abended due to region came down with last CKPTID=00000720. and then i restarted the job and it took restarted from previous checkpoint (from CKPTID=00000720) but failed With U0271 after taking few checkpoints till 00000726.
Please help me how to proceed and resolve this issue.
Thanks
krishna |
|
Back to top |
|
|
|