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
PROGRAM FOR SIZE ERROR:   We have to write an easy program to elaborate the size error option. Identification division. Program- id. sizeerr. Environment division.

Example of compound condition: In common, a compound condition has the form which is as shown below: Where condition-1 & condition-2 can be any one of the below:


Block Size: The normal practice is to group a number of consecutive records to form that is termed as a block or a physical record. The number of records in a block is frequen

FILE-CONTROL ENTRIES FOR THE SEQUENTIAL FILES: The characteristics of each and every files handled in a program are specified in the ENVIRONMENT DIVISION and DATA DIVISION.

LEVEL NUMBERS: The COBOL makes use of the level number concept to explain the hierarchical data structure. A level number is a 2 digit number. The permitted level numbers a

WRITE Statement:      The WRITE statement for a relative file has the format which is as shown below.          WRITE  record-name   [ FORM   identifier ]

Illustration of the abbreviation: A few illustration of the abbreviation are given below: Illustration: The compound condition  AMOUNT GREATER THAN 499 AND AMOUNT L

Column and Field in COBOL program: In COBOL there are 2 types of entries termed as margin A and margin B entries. The Margin A entries start from the column 8, 9, 10 or 11 and

PERFORM WITH VARYING OPTION: The format is as shown below: