IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is Empty VSAM file error


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
praneethgokul

New User


Joined: 06 May 2005
Posts: 20
Location: Bangalore

PostPosted: Sat May 07, 2005 10:13 am
Reply with quote

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
View user's profile Send private message
brain_s390

New User


Joined: 06 May 2005
Posts: 58
Location: Mumbai

PostPosted: Sat May 07, 2005 10:13 pm
Reply with quote

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
View user's profile Send private message
gnagakishore

New User


Joined: 26 Mar 2005
Posts: 25
Location: Hyderabad

PostPosted: Tue May 10, 2005 7:38 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 0
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top