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

VSAM File status of 37


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vivek Wilson

New User


Joined: 27 Nov 2008
Posts: 26
Location: India

PostPosted: Wed Apr 01, 2009 11:30 am
Reply with quote

Hi,
I'm trying to run a program with an Input VSAM File, but it gives a VSAM File Status code of 37 & Abends. The Previous day's VSAM file runs properly though. What can be the error, & how can I fix it? I can open the file in normal Browse mode (Through 3.4) . It's only an I/P, so no edit access required. What can I do?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Apr 01, 2009 11:32 am
Reply with quote

Did you bother to read the topic at the top of the forum - FILE STATUS CODES

It may help you if you did
Back to top
View user's profile Send private message
Vivek Wilson

New User


Joined: 27 Nov 2008
Posts: 26
Location: India

PostPosted: Wed Apr 01, 2009 11:55 am
Reply with quote

expat wrote:
Did you bother to read the topic at the top of the forum - FILE STATUS CODES

It may help you if you did


I did actually. But my file is not in Violation of any of the specified conditions. Which is why I even posted the query here.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Apr 01, 2009 12:50 pm
Reply with quote

Hi,

It might be helpful if you show us the COBOL code along with the definition of VSAM . . .
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 01, 2009 1:20 pm
Reply with quote

investigate what happened since last time Your program run successfully

dataset changes
program changes

the issue has been debated a few times around here
Back to top
View user's profile Send private message
Vivek Wilson

New User


Joined: 27 Nov 2008
Posts: 26
Location: India

PostPosted: Wed Apr 01, 2009 1:22 pm
Reply with quote

I've followed those threads. The info provided there was of no use either. There are no Dataset changes or Program changes. The same program runs perfectly fine with another file, of similar structure. All indications are that there's something wrong with this particualr file, although it has the same properties as the file that ran successfully.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 01, 2009 1:29 pm
Reply with quote

Quote:
There are no Dataset changes or Program changes.
The same program runs perfectly fine with another file, of similar structure.


be consistent in Your logic... please
a different dataset looks like a change to me
similar is not <EQUAL> to equal
Back to top
View user's profile Send private message
Vivek Wilson

New User


Joined: 27 Nov 2008
Posts: 26
Location: India

PostPosted: Wed Apr 01, 2009 1:46 pm
Reply with quote

enrico-sorichetti wrote:
Quote:
There are no Dataset changes or Program changes.
The same program runs perfectly fine with another file, of similar structure.


be consistent in Your logic... please
a different dataset looks like a change to me
similar is not <EQUAL> to equal


OK, the Dataset has changed, but the Dataset properties are identical between the previous dataset & the current dataset. No Change whatsoever in the program or any other file used in the JCL.
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 Apr 01, 2009 4:53 pm
Reply with quote

You're not posting necessary information -- the actual OPEN statement, the SELECT statement for the file, and the execution JCL referencing the file; a LISTCAT of both the file that works and the file that doesn't work would also be helpful.
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 2
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