GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 61 of 128    Print  
It is possible to open an empty vsam dataset in an input and output mode?

  
Total Answers and Comments: 5 Last Update: March 22, 2007     Asked by: raja 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 07, 2006 03:57:14   #1  
Anil        

RE: It is possible to open an empty vsam dataset in an...
We cann't open Empty VSAM dataset in input mode but yes for output mode
 
Is this answer useful? Yes | No
December 12, 2006 01:51:32   #2  
avinash        

RE: It is possible to open an empty vsam dataset in an...
no we can't do it in open mode.
 
Is this answer useful? Yes | No
January 04, 2007 01:49:37   #3  
gopu        

RE: It is possible to open an empty vsam dataset in an...

It is posssible to open a empty Vsam dataset on output mode but its not possible to open in input mode.


 
Is this answer useful? Yes | No
February 21, 2007 23:21:22   #4  
kanth        

RE: It is possible to open an empty vsam dataset in an...
it is not possible to open the empty vsamdata set.if u try to open tht it displays lastcc-12.
 
Is this answer useful? Yes | No
March 22, 2007 11:45:49   #5  
bhd8ball Member Since: March 2007   Contribution: 1    

RE: It is possible to open an empty vsam dataset in an...
You can open a vsam dataset that has NO records in it if you initialize it with IDCAMS.

Create it.

Copy a 'blank' record into it.

Delete the record (with IDCAMS)

Now it can be opened sucessfully in OR output. You may get a '4' condition code if you open it input.....

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape