View previous topic :: View next topic
|
Author |
Message |
praneethgokul
New User
Joined: 06 May 2005 Posts: 20 Location: Bangalore
|
|
|
|
Hi all,
I have 3 doubts regarding emtpy vsam file
1) What is Empty VSAM file error?
2) When does it occurrs?
3) How to resolve it?
Please Help me
:| |
|
Back to top |
|
|
brain_s390
New User
Joined: 06 May 2005 Posts: 58 Location: Mumbai
|
|
|
|
Hi Praneeth,
If we attempt to open an empty VSAM file in input mode the pgm will fail.An empty file can be opened for output only. In the output mode the program will write a dummy record to the file & then delete it out. |
|
Back to top |
|
|
gnagakishore
New User
Joined: 26 Mar 2005 Posts: 25 Location: Hyderabad
|
|
|
|
if u attenpt to open an empty vsam file u will get the error 160.
to over come this write a dummy program which opens it and closes it. |
|
Back to top |
|
|
|