View previous topic :: View next topic
|
Author |
Message |
lekshmi_ci
New User
Joined: 14 Mar 2007 Posts: 60 Location: Thiruvananthapuram
|
|
|
|
hi,
can anybody help me in finding what is VSAM error status code 37.
I am getting this error while i am trying to open a vsam file in I/O mode.
Thanks
LC |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
You did look it up, didn't you?
Status key
Quote: |
37:
An OPEN statement was attempted on a file that would not support the open mode specified in the OPEN statement.
Possible violations are:
1. The EXTEND or OUTPUT phrase was specified but the file would not support write operations.
2. The I-O phrase was specified but the file would not support the input and output operations permitted.
3. The INPUT phrase was specified but the file would not support read operations. |
Which one is it? |
|
Back to top |
|
|
shankar.v
Active User
Joined: 25 Jun 2007 Posts: 196 Location: Bangalore
|
|
|
|
Following are the some informations i found from some materials for file status code of 37.
1. Permanent error condition.
2. The I-O phrase was specified but the file would not support the input and output operations permitted.
3. OPEN MODE INCOMPAT WITH DEVICE |
|
Back to top |
|
|
lekshmi_ci
New User
Joined: 14 Mar 2007 Posts: 60 Location: Thiruvananthapuram
|
|
|
|
but the thing is that, that particular file has read/write privilege. and is opened in I/O mode.
Is there any other case of failure. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
what does a listcat on the vsam provide?
I think I remember something about the REUSE parameter. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
balakrishna reddy
Active User
Joined: 13 Jul 2007 Posts: 128 Location: Guntur
|
|
|
|
hi lekshmi,
as dbz wrote
Quote: |
I think I remember something about the REUSE parameter
|
the reuse parameter plays a prominent role in adding records to vsam file.
i think you must have specified NOREUSE option for that vsam file at time of cluster creation. Please make sure that it is specified as 'REUSE' or not.
if still the problem is coming then please provide the sysout and vtoc information of that file. |
|
Back to top |
|
|
|