Sequential files with the variable-length records, COBOL Programming

SEQUENTIAL FILES WITH THE VARIABLE-LENGTH RECORDS:

The Magnetic - tape or disk files can hold variable-length records. In this situation the file can have records with various fixed lengths or one or more records can hold variable number of table elements. In the later situation the table elements are defined with OCCUR....DEPENDING clause. 

 

Posted Date: 10/17/2012 8:07:06 AM | Location : United States







Related Discussions:- Sequential files with the variable-length records, Assignment Help, Ask Question on Sequential files with the variable-length records, Get Answer, Expert's Help, Sequential files with the variable-length records Discussions

Write discussion on Sequential files with the variable-length records
Your posts are moderated
Related Questions
Illustration of Divide verb: (a) DIVIDE 5 INTO A. If the value of A is 20, then after execution of this statement the value of A will be 4. The older value of A will be los

Record Description for the Variable-length Records: When the variable- length records consists of records of various lengths, each record type is to be explained at level 01 f

Example of add verb: (a) ADD A TO B. This illustration represents that the value of A will be added to the value of B and the result will be stored in B.  The alignment of

PROGRAM FOR ADD CORRESPONDING: We have to write a simple program to demonstrate Add Corresponding.   identification division.   program- id.   environment division.

Example of Redefines clause: This illustration describes a sales record that may either contain the total amount of sale or the quantity (QTY) and UNIT-PRICE. The aim of such

Occurs Clause: Let us establish tables with the help of an illustration. Assume that there are ten different types of income-tax rates that are read from some input medium and

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

Literals: The actual values can too appear in a program. These values are termed as literals. For illustration, the statement MOVE 0 TO TOTAL indicates that the value zero wil

STATEMENTS FOR SEQUENTIAL FILES: A basic operation on a file includes the reading and writing of its records. Whenever the file is sequential, there are three verbs for the

RELATIVE FILES: The Files that are stored on a direct access storage medium like magnetic disk are frequently known as direct access files. The COBOL supports three different