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
INPUT-OUTPUT SECTION: This section holds information regarding the files to be used in the program. There are 2 paragraphs in this section- FILE-CONTROL & I-O-CONTROL. The

What is the difference b/w index and subscript? Subscript indicates to the array occurrence whereas index is the displacement (in no of bytes) from the beginning of the array.

Example of File-control: The assign clause assigns a specific physical peripheral device name to a file. The physical peripheral device are machine-dependent. We use the devic

Illustration of Renames clause: In the illustration, PAT-OTHER-THAN-BASIC will become a fresh group consisting of DEARNESS-ALLOWANCE, HOUSE-RENT & MTHLY-INCENTIVE. Keep in min

Introduction to COBOL: In the year 1959, a new language named the COBOL ( CO mmon B usiness O riented L anguage) was introduced remembering the business purpose application

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 Multiply verb: (a)  MULTIPLY A BY B. In this situation the value of A & B will be multiplied and the product will be stored in B.  The decimal point locatio


GO TO, STOP RUN: The GO TO verb is used to completely transfer the control to elsewhere in the program. Its form is as shown below: GO TO procedure-name As a result o

RULES FOR INDEXED TABLES: The rules of indexing a table with an INDEXED phrase are as shown below: (1) If indexing is completed for any one level of a table, then indexing