Deleting a record from a Sequential file.
Answers were Sorted based on User's Feedback
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 |
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 |
I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks
What is the actual use of fillers?
What is sort? And its syntax?
How to Convert 2010/02/11 to m/dd/yyy.. with string and without string if any other method... code
Explain the syntax of redefine?
what is redefine and its syntax?
what is the cobol compiler?
Can we open close file in COBOL any number of times?
What is comp?
define comp?
What are the types of perform?
How COBOL helps Mainframe to maintain large records ???