Procedure division statements for the relative files, COBOL Programming

PROCEDURE DIVISION statements for the relative files:

The statements OPEN, CLOSE, READ, WRITE and REWRITE that are available for sequential files are also available for the relative files. In addition, two other words, namely, the DELETE and START are also available. As observes the OPEN and CLOSE statements, there is no distinction between relative file and sequential disk file. 

 

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







Related Discussions:- Procedure division statements for the relative files, Assignment Help, Ask Question on Procedure division statements for the relative files, Get Answer, Expert's Help, Procedure division statements for the relative files Discussions

Write discussion on Procedure division statements for the relative files
Your posts are moderated
Related Questions
OCCURS CLAUSE - PROGRAM: We have to write a program to demonstrate the occurs clause. Get names of the students and show them on the screen.  identification division.

SEQUENTIAL FILE CREATION AND REWRITING: We have to write a program to create a student file with just two fields: sno i.e. Student Number and same i.e. Student Name. Add a few

FILE UPDATION: The method of modifying an old file with present information is termed as file updating. Master file: A master file is a file which is used as an author

WRITE STATEMENT: The WRITE Statement verb releases a record in an output file. The syntax for the WRITE statement can be unlike depending on the output device and the medium us

Illustration of indexed tables: Index items defined through the INDEXED phrase of the OCCURS clause are one type of indexes. There can be other type of index items that are de

NEGATED SIMPLE CONDITION: Any of the easy condition explained can be preceded by the logical operator NOT. The consequence of placing the operator NOT before an easy condition

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

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

Valid and Invalid Word - Cobol words: Valid Word             Invalid Word & Reason emp-sal                  -pay   ( it starts with a hyphen)  TOTAL MARK (blank space em

WRITE statement: The WRITE statement for tape and sequential-disk files has the syntax shown below. WRITE            record-name      [  FROM    identifier   ] As a resu