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
CR and DB (Credit and Debit Sign): The two characters that is CR or DB symbol may appear only at the rightmost place of the picture. They are similar to the minus sign edit ch

CONDITIONS-NAME CONDITION:   The condition name is an entity which itself is a condition and these can have either a true or false value. Though, a condition name cannot be d

ADD and SUBTRACT CORRESPONDING: The CORRESPONDING option can also used with the ADD and SUBTRACT verbs. The following are some of the formats of these verbs with the CORRESPON

RULES FOR SEARCH VERB: The rules apply for the SEARCH verb is as shown below: (1) The SEARCH verb can be applied only to a table that has the OCCURS clause and INDEXED phra

OCCURS CLAUSE - PROGRAM: We have to write a program to elaborate occurs clause. Get names and marks of the students and show them on the screen.   identification division.

Comparison of the Numeric Operand with Nonnumeric Operand: The numeric operand can be compared to the nonnumeric operand subject to the restrictions which are as follows.

Non numeric: The nonnumeric literal is used in normal to output messages or headings. The Characters which are enclosed between " " constitute nonnumeric literal. The maximum

Illustration of Perform with varying option: A) Perform para-3 varying the k from 1 by 1 until k > 10. Here para-3 will be constantly executed 10 times (For k=1,2,3, .....1

IF STATEMENT: The easiest form of the IF statement is  IF condition-1 statement-1 where the condition-1 may be any one from the shown below. When the condition-1

Evaluate is like a case statement & Evaluate  stamenet can be used to replace nested Ifs. The difference b/w EVALUATE and case is that there is no 'break' is required for EVALUATE