Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

VSAM File status of 37

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: VSAM File status of 37
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: 8593
Location: Back in jolly old England

PostPosted: Wed Apr 01, 2009 11:32 am    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Wed Apr 01, 2009 12:50 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Wed Apr 01, 2009 1:20 pm    Post subject: Reply to: VSAM File status of 37
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Wed Apr 01, 2009 1:29 pm    Post subject: Reply to: VSAM File status of 37
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    Post subject: Re: Reply to: VSAM File status of 37
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: 7931
Location: Bellevue, IA

PostPosted: Wed Apr 01, 2009 4:53 pm    Post subject:
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    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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us