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
PROGRAM TO DEMONSTRATE MERGE VERB: The two files for which a record having 2 fields viz. Account Number and Name are already available. Now Merge these two files and create a

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples:

PROGRAM FOR SCREEN SECTION WITH FILES: identification division.   program- id.   environment division.          input-output section.   file-control.     select

ADD and SUBTRACT CORRESPONDING: The CORRESPONDING option can also used with the ADD and SUBTRACT verbs. The following are some of the formats of these verbs with the CORRESPON

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,


Label Records / Disk Directory: The most important information stored in the header label is what is termed as the file title. In the situation of magnetic-disk files the labe

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

PROGRAM FOR PERFORM - THRU: We have to write a program to elaborate PERFORM ...THRU statement Identification division. Program- id.  Perfthru. Environment division.

BLANK WHEN ZERO: BLANK WHEN ZERO is an editing clause that may be used along with a picture. This will set the whole data item to blanks of its value is equal to zero. Though,