vineetjoshi01
New User
Joined: 06 Nov 2009 Posts: 14 Location: Singapore
|
|
|
|
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 |
|
Meenakshi Selvaraj
New User
Joined: 30 Oct 2009 Posts: 36 Location: Chennai
|
|
|
|
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 |
|