View previous topic :: View next topic
|
Author |
Message |
Dhanya Praju
New User
Joined: 16 Jul 2008 Posts: 10 Location: Banglaore
|
|
|
|
hi,
I am getting the file status 37 in the open statement of my vsam file opened in o/p mode.
OPEN OUTPUT vsam-file.
The vsam file contains data. According to the program logic , records are written into this file.
Please help why the open statement is failing? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
Back to top |
|
|
Dhanya Praju
New User
Joined: 16 Jul 2008 Posts: 10 Location: Banglaore
|
|
|
|
why this file is not supporting write operations. ? how to find it out? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
DISP=SHR in the JCL ? |
|
Back to top |
|
|
Dhanya Praju
New User
Joined: 16 Jul 2008 Posts: 10 Location: Banglaore
|
|
|
|
yes I gave disp=shr ..still am getting that error |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
gentlemen, gentlemen,
the jcl disposition is irrelevant to the use inside the program |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Are you sure you have named the correct dataset name in the jcl? VSAM files have multiple dataset names, but you should not name the data or index datasets in the dd for the file.
If this is not the problem, Please post the SELECT and the FD from the program as well as the jcl for this step. Also, post the DEFINE for the vsam file. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Isn't open with RESET not allowed with a cluster defined as NOREUSE ? |
|
Back to top |
|
|
|