Delete statement - indexed files, COBOL Programming

DELETE STATEMENT:

The file should be opened in the I-O mode. If the access is SEQUENTIAL, the INVALID

KEY phrase must be specified. Rather than, the last input-output statement executed on the file should be a successful READ statement for the record. 

 

Posted Date: 10/17/2012 8:45:10 AM | Location : United States







Related Discussions:- Delete statement - indexed files, Assignment Help, Ask Question on Delete statement - indexed files, Get Answer, Expert's Help, Delete statement - indexed files Discussions

Write discussion on Delete statement - indexed files
Your posts are moderated
Related Questions
IF ... ELSE STATEMENT: We are familiar with an easy form of the IF statement. The common form of the IF statement is as shown below: Each of the statement-1 and statem

PROGRAM FOR ADD CORRESPONDING: We have to write a simple program to demonstrate Add Corresponding.   identification division.   program- id.   environment division.

READ STATEMENT: The aim of this verb is to make available the next logical record from the input file. It is important to note the meaning of the "next" logical record in the

START STATEMENT: The START statement places the files to the initial logical record whose record key satisfies the condition specified by the KEY phrase. The access mode shoul

Picture Clause: The picture clause explains the general characteristics of an elementary data item. These characteristics are elaborated below: Class: In COBOL the


Illustration of Search verb: To illustrate the other use of SEARCH verb, assume we wish to search the similar tab to find the number of persons whose deposited amount is more

PROGRAM FOR SCREEN SECTION:  identification division.   program- id.   environment division.   data division.   working-storage section.   01  a pic 9(2) value

PROGRAM TO DEMONSTRATE SORT VERB: The file for which a record having 2 fields, viz., Account Number and Name is already available. Sort the file based on the ascending order o

RULES OF RENAMES CLAUSE:   The rules below should be observed while using the RENAMES clause: (i) All RENAMES entries should be written only after the last record descript