IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IMS u0271 abend while purging buffers during a checkpoint


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ravindran.d

New User


Joined: 04 Apr 2007
Posts: 26
Location: chennai

PostPosted: Mon Oct 29, 2007 5:31 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Mon Oct 29, 2007 5:38 pm
Reply with quote

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
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Oct 29, 2007 6:34 pm
Reply with quote

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
View user's profile Send private message
ravindran.d

New User


Joined: 04 Apr 2007
Posts: 26
Location: chennai

PostPosted: Mon Oct 29, 2007 7:49 pm
Reply with quote

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
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 31, 2007 4:35 pm
Reply with quote

Again; reconstruct the GSAM file and make sure there's an EOF mark issuing an open/close.
Back to top
View user's profile Send private message
ravindran.d

New User


Joined: 04 Apr 2007
Posts: 26
Location: chennai

PostPosted: Wed Oct 31, 2007 5:41 pm
Reply with quote

hi Bitneuker ,
Thanks. I solved this abend.


regards
Ravindran.d
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 31, 2007 5:49 pm
Reply with quote

Could you also tell us how?
Back to top
View user's profile Send private message
ravindran.d

New User


Joined: 04 Apr 2007
Posts: 26
Location: chennai

PostPosted: Wed Oct 31, 2007 6:07 pm
Reply with quote

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
View user's profile Send private message
ravindran.d

New User


Joined: 04 Apr 2007
Posts: 26
Location: chennai

PostPosted: Wed Oct 31, 2007 6:10 pm
Reply with quote

hi,
Please,let me know any queries?
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 31, 2007 6:21 pm
Reply with quote

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
View user's profile Send private message
ravindran.d

New User


Joined: 04 Apr 2007
Posts: 26
Location: chennai

PostPosted: Wed Oct 31, 2007 6:45 pm
Reply with quote

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
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 31, 2007 7:01 pm
Reply with quote

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
View user's profile Send private message
ravindran.d

New User


Joined: 04 Apr 2007
Posts: 26
Location: chennai

PostPosted: Wed Oct 31, 2007 7:11 pm
Reply with quote

Bitneuker,

Thanks for ur valid information.
regards
ravindran.d
Back to top
View user's profile Send private message
krishna_mf

New User


Joined: 31 Jan 2007
Posts: 56
Location: banglore

PostPosted: Mon Apr 27, 2009 12:45 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts ABEND 0717 during starting IMS IMS DB/DC 0
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
No new posts What is the most complex abend you've... Mainframe Interview Questions 8
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
Search our Forums:

Back to Top