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
Example of Perform statement: PERFORM BEGIN-CALCULATION THRU END-CALCULATION. Assume, BEGIN-CALCULATION and END-CALCULTION is paragraph names. The execution of the PERFORM

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

WRITE STATEMENT: The WRITE Statement verb releases a record in an output file. The syntax for the WRITE statement can be unlike depending on the output device and the medium us

Illustration of Search verb: To illustrate the other use of SEARCH verb, assume we wish to search the similar tab to find the number of persons whose deposited amount is more

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

How do i write a simple cobol programming that works

single program how may when statement has used

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

Example of Move corresponding: Consider the DATA DIVISION entries shown below. Suppose it is needed that the data stored in the 4 fields of the PAY_REC should be

PERFORM WITH UNTIL OPTION: The format is as shown below: Illustration:  A) Perform p-3 until i > 5. Here p-3 will be executed whenever i B)  Perform p-2 thru