Deleting a record from a Sequential file.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of perform?

571


Explain the types of perform?

525


Explain the difference between search and searchall?

513


How to detect record is locked in cobol/400? What is the solution for that?

527


why icetool be used in programmer view?

2143






What are fillers? What is the actual use of fillers? With mall/simple example?

554


Explain the output procedure?

579


What is the actual use of fillers?

503


Define sort?

581


Explain how to update data area in cobol 400 program?

578


Define perform? And its types?

506


Explain the input procedure?

539


What is redefine?

556


I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

2067


What is output procedure?

543