MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

vsam file status 92 while reading.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Fri Nov 14, 2003 3:00 pm    Post subject: vsam file status 92 while reading. Reply with quote

Hi,

Can some one elaborate me what is the file status 92 , while reading the vsam file. I know it is logic error, but what does it mean.. please let me know if you need anything else ..


Thanks
Anand
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12360
Topics: 75
Location: San Jose

PostPosted: Fri Nov 14, 2003 3:35 pm    Post subject: Reply with quote

Anand,

A couple of things to check for status code 92.


1. check the access mode in file declaration. ie FD section.Make sure that it matches the listcat info of the vsam file.

2. Make sure that the record being read into a layout is not smaller than the recod.

3.If you are using a START verb to read a record directly, you first need to populate value to the record key.

check this link for sample porgram to check the status codes.

checking VSAM status codes

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Fri Nov 14, 2003 4:11 pm    Post subject: Reply with quote

Thanks for ur reply Kolusu..

I have checked it out, and there is a conflict in file definitions.. Actually VSAM file is Sequential, and I have defined in the program as DYNAMIC. I want to conver that file from sequential to dynamic.. can you help me out..

Thanks
Anand
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12360
Topics: 75
Location: San Jose

PostPosted: Sat Nov 15, 2003 11:16 am    Post subject: Reply with quote

Anand,

If I understand you correctly, you have an ESDS file and you want to use it for both sequential and random processing. Convert this file into a RRDS or KSDS which allows dynamic access mode.

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Sun Nov 16, 2003 7:16 pm    Post subject: Reply with quote

Yes it did work.. .thanks a lot for ur help kolusu...U just simply great man..thanks once again.

Anand
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group