GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Mainframe  >  COBOL
Go To First  |  Previous Question  |  Next Question 
 COBOL  |  Question 146 of 150    Print  
How do you delete specific record using COBOL
i want delete one record from the file that is
50 th record how can we delete ...?



  
Total Answers and Comments: 3 Last Update: June 16, 2008     Asked by: raju_68 
  
 Sponsored Links



 
 Best Rated Answer
Submitted by: guraddiv
 
if the file is VSAM then u can easily delete the records using primary key

Above answer was rated as good by the following members:
ln2009
May 12, 2008 07:37:48   #1  
guraddiv Member Since: April 2008   Contribution: 17    

RE: How do you delete specific record using COBOL
if the file is VSAM then u can easily delete the records using primary key
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 2Overall Rating: -1    
June 10, 2008 16:08:15   #2  
gande Member Since: June 2008   Contribution: 1    

RE: How do you delete specific record using COBOL
DELETE file-name RECORD
 
Is this answer useful? Yes | No
June 16, 2008 02:50:19   #3  
vukoti1229 Member Since: June 2008   Contribution: 0    

RE: How do you delete specific record using COBOL
The file which we are using is VSAm file then we can go for Key mentioned ,
If it is a sequential file we have to read till the 49th record then needs to delete the 50th record, this is the main disadvantage with Sequential files.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links



 
Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape