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
RULES OF MOVE VERB:  The Data movement is managed by the rules which are as shown below: (a) The contents of the identifier - 1 or the value of the literal - 1 is moved to

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

RULES OF REDEFINES CLAUSE The rules shown below govern the use of the REDEFINES clause: (i) The level-number of data-name-1 and data-name-2 should be identical. (ii) Exce

Example of Perform statement: PERFORM BEGIN-CALCULATION THRU END-CALCULATION. Assume, BEGIN-CALCULATION and END-CALCULTION is paragraph names. The execution of the PERFORM

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.

PROGRAM FOR SCREEN SECTION:  identification division.   program- id.   environment division.   data division.   working-storage section.   01  a pic 9(2) value

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

.(Period or Decimal Point) : The period may be used to insert a decimal point and may not come into view more than once. Both the period and V cannot appear in similar picture

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

Example of Class condition: Let the BASIC-PAY be a data name in the card record defined with picture 9(5) V99. By reading the card we can test the value of the BASIC-PAY to ma