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

VSAM Logic Error: 92


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vineet

New User


Joined: 14 Sep 2005
Posts: 20

PostPosted: Fri May 26, 2006 12:59 pm
Reply with quote

Hi All,
I am facing a logical error 92 for the VSAM file. Below is teh description of the problem.

I am having one flat file & one VSAM file(Both open in Input Mode). I read flat file & base on the record red, using some of field I generate Key for the VSAM file. When based on generated key I tried to read the VSAM file, if record not found then then RC=23 is fine, but if record in existing then I am getting logic Error: 92. I am not sure Y? below is the Key format of VSAM file. One Space only.
0001 000000000000001 000000000000002.

VSAM file Opend in Input Mode, Org: Indexed & Access: is Random. Also chckd record in FA.

I appreciate if U ppl can help me out.

Thanx
Rgds Vinit A.
Back to top
View user's profile Send private message
gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Fri May 26, 2006 2:39 pm
Reply with quote

Try using ACCESS MODE DYNAMIC instead of RANDOM
Back to top
View user's profile Send private message
Vineet

New User


Joined: 14 Sep 2005
Posts: 20

PostPosted: Fri May 26, 2006 2:52 pm
Reply with quote

thanx GS but it didn't work out.
Back to top
View user's profile Send private message
gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Fri May 26, 2006 3:43 pm
Reply with quote

as i replied to you in PM, you need to check if your code is in line with teh file. is it defined correctly.

SELECT COMMUTER-FILE ASSIGN TO COMMUTER
ORGANIZATION IS INDEXED
ACCESS IS RANDOM
RECORD KEY IS COMMUTER-KEY
FILE STATUS IS COMMUTER-FILE-STATUS COMMUTER-VSAM-STATUS.
Back to top
View user's profile Send private message
Vineet

New User


Joined: 14 Sep 2005
Posts: 20

PostPosted: Fri May 26, 2006 4:11 pm
Reply with quote

Yep GS I checked every thng.What ever U askng.Still M getting this error I am my self surprised.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top