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

VSAM file failed with status code 90


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prabha
Warnings : 2

New User


Joined: 05 Dec 2005
Posts: 79

PostPosted: Wed Feb 16, 2011 1:35 pm
Reply with quote

Hi,

In my cobol module, our VSAM file empty. In order to handle empty VSAM file, we used OPTIONAL in SELECT statement. Since it has Alternate index file is present for this VSAM, program is still abending. Getting VSAm status code as 90. Could you please help out this.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Feb 16, 2011 1:49 pm
Reply with quote

Did you initialise the file before trying to use it.

Have you searched the forum or google for the same problem.
Back to top
View user's profile Send private message
Prabha
Warnings : 2

New User


Joined: 05 Dec 2005
Posts: 79

PostPosted: Wed Feb 16, 2011 3:52 pm
Reply with quote

While opening the file itself, am getting this error. I didnt initialize anything. I tried to search, but it didnt get any solution.

Error is

************** ABEND INFO **************
OPEN ERROR : CMEXT-SBRT-FILE
FILE STATUS WAS : 90
DDNAME : CMXTSBRT
*******************************************
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Feb 16, 2011 4:01 pm
Reply with quote

I found 48k + articles on google using "VSAM staus 90" and quite a few linked back to this very forum.

I suggest that you use google and select some that link back to this forum and see what others have done to resolve the problem.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Feb 16, 2011 4:07 pm
Reply with quote

What is(are) the DD name(s) in your JCL for the alternate index(es)?
Back to top
View user's profile Send private message
Prabha
Warnings : 2

New User


Joined: 05 Dec 2005
Posts: 79

PostPosted: Wed Feb 16, 2011 4:19 pm
Reply with quote

We r not using alternate index in this module. It is used in other job. In that job it is getting created.. Here using we are VSAM fie alone.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Feb 16, 2011 9:50 pm
Reply with quote

As Expat has said, click on this link and all will be forgiven.... icon_wink.gif

ibmmainframes.com/post-68601.html

Bill
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Feb 17, 2011 4:19 am
Reply with quote

Use the extended file status to get the VSAM feedback, return, and reason codes -- then look them up in the manual to find out more precisely what your problem is. If you cannot figure out the problem, please post all 3 values.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top