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 |
How we can update data area in cobol 400 program?
How to Convert 2010/02/11 to m/dd/yyy.. with string and without string if any other method... code
seqence numbers in cobol
01 A PIC 9. 01 B PIC 99V1. 01 C PIC 99. MOVE 1 TO A. MOVE 0.2 TO B. COMPUTE C ROUNDED TO 3/3 + A.
What is output procedure?
Code how to read 5th element of the array?
What is perform?
define comp?
How u detect record is locked in Cobol/400 ? Wat is the solution for that ?
Define redefine?
How to update data area in cobol 400 program?
what is the cobol compiler?