Perform with until option, COBOL Programming

PERFORM WITH UNTIL OPTION:

The format is as shown below:

Illustration: 

477_PERFORM WITH UNTIL OPTION.png

A) Perform p-3 until i > 5.

Here p-3 will be executed whenever i <= 5. Whenever the condition fails it executes p-3 and if the condition turns out to be true it skips p-3.  

B)  Perform p-2 thru p-4 until k > n.

It is alike to the former illustration. All the paragraphs from p-2 to p-4 will be executed till the particular condition is satisfied.

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





Common sense rules. Kim easily could have put a cap on her deal but she didn''t think that far ahead when she signed the contract with Groupon. She didn''t want repeat customers buying multiple vouchers? Then make it one/person. (I realize she said that Groupon did not include the restrictions she wanted, but I guarantee she didn''t make sure of it in the contractwhich is why it ended up on the site)., Buy">http://www.phen375success.com/">Buy Phen375, 277,
Posted by Giubverl | Posted Date: 1/31/2013 12:32:04 AM


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

Write discussion on Perform with until option
Your posts are moderated
Related Questions
RULES OF RENAMES CLAUSE:   The rules below should be observed while using the RENAMES clause: (i) All RENAMES entries should be written only after the last record descript

Comparison of Numeric Operands: We are well-known with the kind of the relational condition where both the operands are numeric. The comparison in this situation is algebraic

NESTED IF STATEMENT:   The then and else statement of an IF statement can hold other IF statements. The involved IF statements in their turn may also hold other IF statements

PROGRAM FOR PERFORM - VARYING: We have to write a program to elaborate PERFORM ...VARYING Identification division. Program- id. PerfVary. Environment division. Dat

COMPOUND CONDITION: The two simple conditions can be connected by the logical operators AND or OR to form a compound condition (also termed as combined condition). When two co

Example of File-control: The assign clause assigns a specific physical peripheral device name to a file. The physical peripheral device are machine-dependent. We use the devic

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 MOVE CORRESPONDING: We have to write a simple program to demonstrate Move Corresponding. identification division.   program- id.   environment division.

Illustration of Subtract verb: (a) SUBTRACT A FROM B. This illustration means that the value of A will be subtracted from the value of B and the subtracted result will be s

COBOL Words: The COBOL word can be formed by using the characters as shown below: 0-9 A-Z (a-z) - (hyphen) The rules below should be hold in forming the COBOL words.