Deleting a record from a Sequential file.

Answers were Sorted based on User's Feedback



Deleting a record from a Sequential file...

Answer / bathulasreeni

To remove an existing record from an indexed or relative
file, open the file in I-O mode and use the DELETE
statement. You cannot use DELETE on a sequential file or
line-sequential file.

For information on COBOL opening modes,please refer
http://clearmainframeinterview.blogspot.com/2013/11/file-open-
mode.html

Is This Answer Correct ?    5 Yes 0 No

Deleting a record from a Sequential file...

Answer / surya

After placing a record into a sequential file, it is not possible to delete a record and it is also not possible to change the order of the records.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL400 Interview Questions

define comp?

2 Answers  


write a cobol program to display prime numbers between 1 to 100?

5 Answers   Cap Gemini, NISA,


Code how to read 5th element of the array?

2 Answers   CGI,


What is input procedure?

0 Answers  


How COBOL helps Mainframe to maintain large records ???

1 Answers   Satyam,






i have two programs 1.cobol program 2.copy book program can i move bouth program in to the production or single single program?

1 Answers   UHG,


What is comp?

0 Answers  


what is the difference between section,paragraph and sentences

4 Answers  


How to detect record is locked in cobol/400?

0 Answers  


Define redefine and its syntax?

0 Answers  


can i anyone tell me how to use copybooks in cobol

1 Answers  


Can we open close file in COBOL any number of times?

2 Answers   Kanbay,


Categories