Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
VSAM file failed with status code 90

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: VSAM file failed with status code 90
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: 8593
Location: Back in jolly old England

PostPosted: Wed Feb 16, 2011 1:49 pm    Post subject:
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    Post subject: Reply to: Reading Empty vsam file failed with status code 9
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: 8593
Location: Back in jolly old England

PostPosted: Wed Feb 16, 2011 4:01 pm    Post subject:
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Wed Feb 16, 2011 4:07 pm    Post subject:
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    Post subject: Reply to: Reading Empty vsam file failed with status code 9
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: 2504
Location: Atlanta, Georgia, USA

PostPosted: Wed Feb 16, 2011 9:50 pm    Post subject: Reply to: Reading Empty vsam file failed with status code 9
Reply with quote

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

http://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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Thu Feb 17, 2011 4:19 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 1 Tue Sep 26, 2017 3:35 am
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us