Delete statement, COBOL Programming

DELETE STATEMENT:

The format of the delete statement is as shown below:

DELETE   file-name RECORD   [  ;   INVALID   KEY  imperative-statement  ]

Whenever the ACCESS MODE IS SEQUENTIAL the execution of the DELETE statement should be preceded by the execution of a READ statement on the file and the INVALID KEY phrase must not be specified.

 

 

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







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

Write discussion on Delete statement
Your posts are moderated
Related Questions
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

CLOSE STATEMENT: When the processing of a file is completed, then the file may be closed. This is completed with the help of the CLOSE-verb. The form of the CLOSE statement is

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:

COBOL Words: The COBOL word can be formed by using the characters as shown below: 0-9 A-Z (a-z) - (hyphen) The rules below should be hold in forming the COBOL words.

RULES FOR OCCURS CLAUSE: The rules apply for the OCCURS clause and the subscripts are as shown below. (1) The integer in the OCCURS clause should be a positive integer.

I need help with a COBOL programming assingment. I have started the program but I need help completing the program. I have 5 errors. Here is the question. 10. Suppose your company

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

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

SIGN CONDITION:   The sign condition establishes whether or not the algebraic value of an operand is negative, positive or zero. The operand can be either the numeric identif

PROGRAM FOR SCREEN SECTION WITH FILES: identification division.   program- id.   environment division.          input-output section.   file-control.     select