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
Data Division: The Data Division is a part of the COBOL program where every data item processed by the program is described. It is very important to note that unless a data

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

PROGRAM FOR COMPUTE VERB: We have to write an easy program to elaborate the COMPUTE verb.  Identification division. Program- id. compverb. Environment division. Da

Numeric -   Literals : The numeric literal can be created with the help of digits only. It can have a sign (+ or -) and can also have a decimal point. If no sign is specifi

Environment Division: The Environment Division is the second division in the COBOL source program. It is mainly machine-dependent . The computer and all the peripheral dev

Illustration of nested if statement: Consider the nested sentence which is as shown below: The IF-ELSE pairs in this sentence can be detected by applying the rule whic

There are some restrictions when these procedures are used. (i) The Procedure should not contain any SORT/MERGE statement. (ii) An explicit transfer of the control outside

RELATIVE FILES: The Files that are stored on a direct access storage medium like magnetic disk are frequently known as direct access files. The COBOL supports three different

ARITHMETIC VERBS: Most of the problems need some computations to be performed on the input or intermediate data that are numeric in nature. The Arithmetic verbs are used to pe