File characteristics, COBOL Programming

FILE CHARACTERISTICS:

The task of file handling is the responsibility of the system software termed as IOCS (Input-Output control system).

Record Size:

We know that the records of a card file should consist of 80 characters (but this can vary with the model and make of the printer). The size of the records in a tape or a disk file, on the other hand, may be selected by the programmer.

 

 

 

Posted Date: 10/17/2012 7:52:14 AM | Location : United States







Related Discussions:- File characteristics, Assignment Help, Ask Question on File characteristics, Get Answer, Expert's Help, File characteristics Discussions

Write discussion on File characteristics
Your posts are moderated
Related Questions
Name the divisions in a COBOL program are given below DENTIFICATION DIVISION DATA DIVISION ENVIRONMENT DIVISION PROCEDURE DIVISION.

COMPUTE VERB: The COMPUTE verb is very powerful. All the evaluations performed by the other 4 verbs can also be completed easily by using the COMPUTE verb. Its normal format i

Size: The number of characters or digits needed to store the data item in the memory in termed as the Size of the data item. All the 4 general characteristics explained can

WRITE STATEMENT: The records are written to be logical place as determined from the value of the record key. The INVALID KEY condition occurs in the cases shown below: (i)

Picture Clause: The picture clause explains the general characteristics of an elementary data item. These characteristics are elaborated below: Class: In COBOL the

SUBTRACT VERB: The SUBTRACT verb is used to subtract one, or the sum of two or more numbers from one or more numbers and to store the result. The form of the SUBTRACT verb

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

PERFORM WITH VARYING OPTION: The format is as shown below:


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