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
What are fillers? What is the actual use of fillers? With mall/simple example?
What is sort?
What is perform?
Explain what all the conditiones required for using open opcode on a file?
Explain the difference between comp & comp-3?
What are the types of perform?
Define perform? And its types?
What is sort? And its syntax?
What is output procedure?
I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks
Explain how to detect record is locked in cobol/400? What is the solution for that?
Explain the input procedure and output procedure?
Define perform?
Explain the output procedure?
What is the syntax of redefine?