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

Explain the input procedure and output procedure?

699


What is the syntax of redefine?

722


Explain the difference between comp & comp-3?

720


What is perform?

864


seqence numbers in cobol

2839


Explain the syntax of redefine?

681


How to detect record is locked in cobol/400?

731


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

726


Explain how to update data area in cobol 400 program?

794


Define perform?

772


Explain the syntax of sort?

764


Explain the input procedure?

706


What is sort?

742


What is input procedure?

775


What are the types of perform?

735