View previous topic :: View next topic
|
Author |
Message |
hsiva2003
New User
Joined: 22 Feb 2005 Posts: 10 Location: Chennai
|
|
|
|
Can we write in an empty VSAM file which is in shareable mode.
(DISP=SHR) |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
But it can not be opened in the program if it is empty... right ? |
|
Back to top |
|
|
paul_007
New User
Joined: 03 Aug 2006 Posts: 33 Location: earth
|
|
|
|
yes it will be treated as if the file doesnt exist |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
Initialize the file using VSAMINIT in the JCL and then open the file in the program.
Thanks,
Muthuvel. |
|
Back to top |
|
|
|