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
 

 

what does feedback code=118 mean ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
leo_sangha

New User


Joined: 11 Aug 2005
Posts: 85
Location: England

PostPosted: Tue Jun 16, 2009 8:37 pm    Post subject: what does feedback code=118 mean ?
Reply with quote

I'm getting Feedback-Code=118 and Return-Code=08 while opening a VSAM file. The job that is trying to access this file is abending with S322 i.e. timeout abend.

Could someone explain what is wrong ?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7935
Location: Bellevue, IA

PostPosted: Tue Jun 16, 2009 9:12 pm    Post subject:
Reply with quote

From the Macro instructions for Data Sets manual:
Quote:
118(X'76')

The data set was not properly closed. The data set
high-used RBA has been successfully verified. Records may
be missing or duplicated.

A previous VSAM program may have abnormally ended.

You should verify that all of the expected records are in
the data set.

The catalog will be updated when the data set has been
successfully opened for output and then successfully
closed. For additional information on recovery processing,
see z/OS DFSMS Using Data Sets.
Back to top
View user's profile Send private message
leo_sangha

New User


Joined: 11 Aug 2005
Posts: 85
Location: England

PostPosted: Wed Jun 24, 2009 6:24 pm    Post subject: Reply to: what does feedback code=118 mean ?
Reply with quote

Thanks Robert, reason for the abend was duplicate records in the vsam file.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7935
Location: Bellevue, IA

PostPosted: Wed Jun 24, 2009 6:39 pm    Post subject:
Reply with quote

Glad to hear you got it resolved ... the manual did say records could be missing or duplicated!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jun 24, 2009 6:47 pm    Post subject:
Reply with quote

How would you know that they were missing if they were not there icon_eek.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7935
Location: Bellevue, IA

PostPosted: Wed Jun 24, 2009 6:58 pm    Post subject:
Reply with quote

Holes in the file? icon_smile.gif

Maybe we should raise a PMR to get that one explained!
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Jun 24, 2009 6:59 pm    Post subject:
Reply with quote

indexed read would fail
- index is built first then the record added to vsam ds.
if the index was built but the system ? failed before the inclusion of the data record
you have a missing record.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jun 24, 2009 7:02 pm    Post subject:
Reply with quote

Interseting suggestion Dick. I may even take a look through some reading materials to follow up on that.

I'm under the impression, maybe wrong - has been known once before icon_rolleyes.gif -but thought the index was inserted after the data.

Never the less a great explanation which I will hopefully get time to follow up on.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Jun 24, 2009 7:19 pm    Post subject:
Reply with quote

Expat,
you are right, I am wrong:

Page 15 VSAM Demystified:

If there are no free CIs in the CA and a record is to be inserted, a CA split occurs.
Half of the CIs are sent to the first available CA at end of the data component.
This movement creates free CIs in the original CA, then the record to be inserted
causes a CI split.
You should keep in mind that splits are not bad. Splits are how VSAM deals with
a lack of space, and this generates free space that will help prevent additional
splits.
As a result of the split, the physical sequence of records and CIs is no longer the
same as the logical sequence. A new index entry is inserted in the sequence set
for the new CI, and the existing index entry is updated
.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jun 24, 2009 7:26 pm    Post subject:
Reply with quote

Thanks Dick.

Maybe the OP might care to run an EXAMINE on the cluster to see if any more little gems crop up.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm


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