View previous topic :: View next topic
|
Author |
Message |
Vivek Wilson
New User
Joined: 27 Nov 2008 Posts: 26 Location: India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Vivek Wilson
New User
Joined: 27 Nov 2008 Posts: 26 Location: India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
It might be helpful if you show us the COBOL code along with the definition of VSAM . . . |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Vivek Wilson
New User
Joined: 27 Nov 2008 Posts: 26 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Vivek Wilson
New User
Joined: 27 Nov 2008 Posts: 26 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|