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 to detect record is locked in cobol/400?
How to detect record is locked in cobol/400? What is the solution for that?
Define sort?
How can i change the below code in SQL to cobol/400? EXEC SQL SELECT COUNT(*) INTO : WS-COUNT FROM Db file WHERE Field 1 = : WS-VAR AND Field 2 = : WS-USERID END-EXEC
How we create file in COBAL400
Define redefine and its syntax?
can i anyone tell me how to use copybooks in cobol
seqence numbers in cobol
When search all is used in cobol program without sorted input data
I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks
Define redefine?
Explain the types of perform?