Perform with times option, COBOL Programming

PERFORM WITH TIMES OPTION:

The format of a PERFORM TIMES statement is as shown below:

Illustration:  

A)  Perform the para-2 5 times.

In this situation the specified para-2 will be constantly executed 5 times.

 B)  Perform the para-2 through para-5 n times.

In this situation the specified range of all the paragraphs from para-2 to para-5 will be constantly executed n times. Note that the value of n must be available before this statement gets executed.

1995_PERFORM WITH TIMES OPTION.png

Posted Date: 10/17/2012 2:13:05 AM | Location : United States







Related Discussions:- Perform with times option, Assignment Help, Ask Question on Perform with times option, Get Answer, Expert's Help, Perform with times option Discussions

Write discussion on Perform with times option
Your posts are moderated
Related Questions
STATEMENTS FOR SEQUENTIAL FILES: A basic operation on a file includes the reading and writing of its records. Whenever the file is sequential, there are three verbs for the

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

CLOSE statement: The simplified syntax of the CLOSE statement is as shown below:   CLOSE          file-name-1   [WITH   LOCK   ]                         [  , file-


Illustration of Divide verb: (a) DIVIDE 5 INTO A. If the value of A is 20, then after execution of this statement the value of A will be 4. The older value of A will be los

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 file

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

Block Size: The normal practice is to group a number of consecutive records to form that is termed as a block or a physical record. The number of records in a block is frequen

Size: The number of characters or digits needed to store the data item in the memory in termed as the Size of the data item. All the 4 general characteristics explained can

PROGRAM FOR MASTER FILE MAINTENANCE: We have to write a program to keep the stu-file for which a record has just 2 fields,viz., rno(Roll Number) and name(Student Name). Give t