Illustration of perform statement, COBOL Programming

Illustration of perform statement:

PERFORM    CALCUALTE-TAX.

In this illustration, the CALCULATE-TAX is either a section name or paragraph name. Assume that it is a section name. All the statements hold in this section will be executed as a result of the execution of the PERFORM statement and afterward the execution of these statements, the control will come back to following the PERFORM statement.

 

Posted Date: 10/17/2012 2:11:43 AM | Location : United States







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

Write discussion on Illustration of perform statement
Your posts are moderated
Related Questions
WRITE statement: The WRITE statement for tape and sequential-disk files has the syntax shown below. WRITE            record-name      [  FROM    identifier   ] As a resu

CLASS CONDITION:   The class condition establishes whether or not the value of the operand is numeric or alphabetic. The operand is numeric if it contains only the digits 0 t

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

Transaction file : A transaction file is a file which contains new records those changes to old records which are used to update the master file. The problem of file updatio

VALUE CLAUSE: The value clause defines the preliminary value of the data item. Normally initialization will be completed just before the first statement in the procedure di

Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST

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

Rules for Simple sort verb: The work file is to be defined by a sort elaboration entry (SD entry).The format of SD entry is as shown below. The rules below should be taken

Common form of the READ statements: Format 1 is the common form of the READ statements. Format 2 is used when the access mode is either random or dynamic. For illustration,

Non numeric: The nonnumeric literal is used in normal to output messages or headings. The Characters which are enclosed between " " constitute nonnumeric literal. The maximum