View previous topic :: View next topic
|
Author |
Message |
Prabha Warnings : 2 New User
Joined: 05 Dec 2005 Posts: 79
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Did you initialise the file before trying to use it.
Have you searched the forum or google for the same problem. |
|
Back to top |
|
|
Prabha Warnings : 2 New User
Joined: 05 Dec 2005 Posts: 79
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
What is(are) the DD name(s) in your JCL for the alternate index(es)? |
|
Back to top |
|
|
Prabha Warnings : 2 New User
Joined: 05 Dec 2005 Posts: 79
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|