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
Selection of file Organization: While designing a file, the programmer should select an appropriate association for a file. The order in which the choice is to be made is as s

Data Names and Identifiers:   The Data name provides reference to the storage space in the memory where the real value is stored. This value takes part in the operation whene

ROUNDED OPTION: Let us consider the DATA DIVISION entries which are as shown below: Now, subsequent to the execution of the statement ADD A B GIVING C, the C will hold

Rules for constructing an Arithmetic Expression: The rules for constructing an arithmetic expression are as shown below: (i) When an arithmetic expression specifies a calcu

How do I move a single QUOTE to a field or set the value clause? "''" does not work?

PROGRAM FOR RENAMES CLAUSE: identification division. program- id. environment division. data division. working-storage section. 01 emp.      02 empdet.


GIVING    file-name-5. The input files to be merged through the MERGE statements which are specified in the USING phrase. These files should be sequential files and should be

PROGRAM FOR DIVIDE VERB:   We have to write an easy program to elaborate DIVIDE verb. You can also use edit characters in the program. Identification division. Program-

ARITHMETIC VERBS: Most of the problems need some computations to be performed on the input or intermediate data that are numeric in nature. The Arithmetic verbs are used to pe