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
Selection of file Organization: While designing a file, the programmer should select an appropriate association for a file. The order in which the choice is to be made is as s

IF ... ELSE STATEMENT: We are familiar with an easy form of the IF statement. The common form of the IF statement is as shown below: Each of the statement-1 and statem

NEGATED SIMPLE CONDITION: Any of the easy condition explained can be preceded by the logical operator NOT. The consequence of placing the operator NOT before an easy condition

RELATIVE FILES: The Files that are stored on a direct access storage medium like magnetic disk are frequently known as direct access files. The COBOL supports three different

RESERVE clause: This clause indicates the number of buffers to be used for the file. Integer-1 specifies this number. ORGANIZATION/ACCESS clause: These two clause

GIVING    file-name-5. The input files to be merged through the MERGE statements which are specified in the USING phrase. These files should be sequential files and should be

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

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

There are some restrictions when these procedures are used. (i) The Procedure should not contain any SORT/MERGE statement. (ii) An explicit transfer of the control outside

Major difference between file and array how does record read from array and file why we are not preparing array for real time