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 fillers?

828


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

714


Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?

908


Explain the input procedure and output procedure?

718


Explain the types of perform?

711


What is sort? And its syntax?

851


seqence numbers in cobol

2860


What is the syntax of sort?

719


Explain the syntax of sort?

782


What is output procedure?

749


What is the syntax of redefine?

745


What is redefine?

837


Explain the input procedure?

723


Explain the difference between search and searchall?

696


Define perform? And its types?

766