Deleting a record from a Sequential file.

Answers were Sorted based on User's Feedback



Deleting a record from a Sequential file...

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

Deleting a record from a Sequential file...

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

Post New Answer

More COBOL400 Interview Questions

Explain the difference between search and searchall?

0 Answers  


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

0 Answers  


Define redefine?

0 Answers  


Explain the types of perform?

0 Answers  


Deleting a record from a Sequential file.

2 Answers   Polaris,






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.

2 Answers  


Explain the difference between comp & comp-3?

0 Answers  


What are Fillers ? What is the actual use of Fillers ? With small/simple Example..

1 Answers   Patni,


Explain the syntax of redefine?

0 Answers  


seqence numbers in cobol

0 Answers   TCS,


Explain what all the conditiones required for using open opcode on a file?

0 Answers  


what is the cobol compiler?

2 Answers   TCS,


Categories