Statements for sequential files , COBOL Programming

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 aim. These are READ, WRITE and REWRITE. 

 

 

Posted Date: 10/17/2012 8:03:47 AM | Location : United States







Related Discussions:- Statements for sequential files , Assignment Help, Ask Question on Statements for sequential files , Get Answer, Expert's Help, Statements for sequential files Discussions

Write discussion on Statements for sequential files
Your posts are moderated
Related Questions
PROGRAM FOR RENAMES CLAUSE: identification division. program- id. environment division. data division. working-storage section. 01 emp.      02 empdet.

PROGRAM FOR ELECTRICITY BILL: An electricity company supplies electricity to 4 types of customers coded 1, 2, 3 & 4.The rate schedule for customers is shown in one table as


Currency Sign - edit characters for numeric data: $ (Currency Sign): The single currency sign can appear at the leftmost place of a picture. In that situation the $ cha

Character Set: To study any language, first one should know the alphabets of the language and they are termed as character set in general. There are 50 different characters in

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)

Example of Write statement: Illustration: (i) WRITE TRANS-RECORD AFTER ADVANCING 3 LINES. This WRITE statement specified that the TRANS-RECORD is a record name of a fi

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

.(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

DELETE STATEMENT : The file should be opened in the I-O mode. If the access is SEQUENTIAL, the INVALID KEY phrase must be specified. Rather than, the last input-output state