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
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      ide

PROGRAMS FOR REDEFINES CLAUSE: We have to write a simple program to explain the REDEFINES clause at 01 level. identification division. program- id. Redef. environment

/ (Slash Insertion): The edit character slash (/) also termed as virgule or stroke, may appear anyplace in the picture. When used, it will be inserted. More than one slash can

Example of If- else statement Illustration:   IF   QUANTITY IS NUMERIC AND QUANTITY IS POSITIVE          MOVE ZERO TO ERROR-CODE. COMPUTE SALES VALUE=QUANTITY*RATE

DIVIDE VERB: The aim of the DIVIDE verb is to divide one number by the other and to store the result.  There are few forms of this verb. One of its forms is as shown below:

Example of Nested if statement: Illustration: Consider the following sentence The nested IF sentence holds two IFs and one ELSE. The IF-ELSE couple has been marke

INDEXED TABLES: The OCCURS clause that is used to define tables can optionally have an INDEXED phrase. This phrase involves the names of data items which are to be used as sub

When using the accept verb in cobol is it possible to assign something other then "SYSIN" for a ddname?

Plus Sign - edit characters for numeric data: + (Plus Sign) : A plus sign is alike to minus sign except that when the item is positive, +sign will be inserted rather th

NONSTANDARD CLAUSES: The various clauses explained above are as per the ANSI standard. Also, most compilers provide for additional nonstandard clauses to meet the specific nec