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

How to resolve the negative DB-KEY issue


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vineetjoshi01

New User


Joined: 06 Nov 2009
Posts: 14
Location: Singapore

PostPosted: Tue Jun 29, 2010 3:11 pm
Reply with quote

Hi All,

We are facing the negative DB-KEY issue. When we tried to display the DB-KEY of a particular record it got displayed as -1371702262. Now when the record is getting fetched via DB-KEY it is getting abended with 0302.

Could anyone please suggest why this DB-KEY is getting stored as negative.

Thanks in advance,
Vineet
Back to top
View user's profile Send private message
Meenakshi Selvaraj

New User


Joined: 30 Oct 2009
Posts: 36
Location: Chennai

PostPosted: Mon Jul 05, 2010 7:48 pm
Reply with quote

Hi Vineet,

IDMS error code 0302 occurs because of the following reasons:

1) DBKEY may have a wrong value, nulls, zero, or overlaid working storage
2) Record name is incorrect
3) Wrong Subschema
4) DBKEY is outside of page range for Area

First check the above possible causes in our program.

If our DB-KEY is defined in the working-storage then it should be defined as ws-db-key PIC S9(8) COMP SYNC.


Regards,
Meenakshi
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 -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts Issue with CA Copycat-IGD17100I UNEXP... CA Products 5
No new posts Negative dependency between jobs in m... COBOL Programming 12
No new posts Rebind issue - Package DB2 2
No new posts Storage issue when inserting Chinese ... COBOL Programming 1
No new posts IMS SEGMENT READ ISSUE IMS DB/DC 0
Search our Forums:

Back to Top