Write statement - sequential files, COBOL Programming

WRITE statement:

The WRITE statement for tape and sequential-disk files has the syntax shown below.

WRITE            record-name      [  FROM    identifier   ]

As a result of the execution of the WRITE statement, the record is free from the record region and is written onto the file. 

 

 

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







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

Write discussion on Write statement - sequential files
Your posts are moderated
Related Questions
We have input file, record layout is EMP ID (6 char) , EMP NAME (20 char), Designation (3 char),Salary (5 digit) Base Branch (10char) Grade (3 Alphanumeric). This is the input f

REDEFINES CLAUSE: At times it may be found that two or more storage regions defined in the DATA DIVISION are not in use concurrently. In such situations only one storage regio

Example of constructing an arithmetic expression: An arithmetic expression may be proceeded by a + or - sign. These operations are known as unary + or unary - operators. Il

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

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)

READ STATEMENT: The aim of this verb is to make available the next logical record from the input file. It is important to note the meaning of the "next" logical record in the

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

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

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

Can u please let me know how can i use SSA''s in IMS while fetching segments. Thanks, Rajesh