Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

IMS u0271 abend while purging buffers during a checkpoint

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: IMS u0271 abend while purging buffers during a checkpoint
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Mon Oct 29, 2007 5:38 pm    Post subject: Reply to: ims u0271 abend
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Oct 29, 2007 6:34 pm    Post subject:
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    Post subject: Reply to: IMS u0271 abend while purging buffers during a che
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 31, 2007 4:35 pm    Post subject:
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    Post subject: Reply to: IMS u0271 abend while purging buffers during a che
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 31, 2007 5:49 pm    Post subject:
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    Post subject: Reply to: IMS u0271 abend while purging buffers during a che
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    Post subject: Reply to: IMS u0271 abend while purging buffers during a che
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 31, 2007 6:21 pm    Post subject:
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    Post subject: Reply to: IMS u0271 abend while purging buffers during a che
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 31, 2007 7:01 pm    Post subject:
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    Post subject: Reply to: IMS u0271 abend while purging buffers during a che
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    Post subject: Reply to: IMS u0271 abend while purging buffers during a che
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts Need points to tune IMS Checkpoint Pr... satish.ms10 IMS DB/DC 2 Fri Sep 30, 2016 4:12 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us