Rewrite statement, COBOL Programming

REWRITE statement:

The REWRITE statement is used to update the existing record in a disk file.

The normal format is as shown below:

REWRIE  record-name  [  FROM      identifier   ]

It may be keep in mind that the syntax is similar to that in the situation of a WRITE statement and the FROM option has similar meaning.

 

 

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







Related Discussions:- Rewrite statement, Assignment Help, Ask Question on Rewrite statement, Get Answer, Expert's Help, Rewrite statement Discussions

Write discussion on Rewrite statement
Your posts are moderated
Related Questions
DISPLAY STATEMENT:   The function of the DISPLAY statement is just opposite to that of the ACCEPT statement. It is used to display the low-volume results on the operator's co

OCCURS - INDEXED BY PROGRAM: identification division. program- id. searching. environment division. data division. working-storage section. 01 table1.      0

RESERVE clause: This clause indicates the number of buffers to be used for the file. Integer-1 specifies this number. ORGANIZATION/ACCESS clause: These two clause

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

Name the divisions in a COBOL program are given below DENTIFICATION DIVISION DATA DIVISION ENVIRONMENT DIVISION PROCEDURE DIVISION.

Comparing features of oracle rdbms with Mysql

Valid and Invalid Word - Cobol words: Valid Word             Invalid Word & Reason emp-sal                  -pay   ( it starts with a hyphen)  TOTAL MARK (blank space em

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

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

, (Comma) : A comma, whenever used in a picture, is considered as an insertion character and inserted wherever it become visible. There can be more than one comma in the pictu