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
.(Period or Decimal Point) : The period may be used to insert a decimal point and may not come into view more than once. Both the period and V cannot appear in similar picture

INDEXED TABLES: The OCCURS clause that is used to define tables can optionally have an INDEXED phrase. This phrase involves the names of data items which are to be used as sub

File volatility: File volatility associates to the number of times the updating of records are needed during some time period. File interrogation: Some files hold re

What is the difference b/w index and subscript? Subscript indicates to the array occurrence whereas index is the displacement (in no of bytes) from the beginning of the array.

RULES OF REDEFINES CLAUSE The rules shown below govern the use of the REDEFINES clause: (i) The level-number of data-name-1 and data-name-2 should be identical. (ii) Exce

Valid and Invalid Word - Cobol words: Valid Word             Invalid Word & Reason emp-sal                  -pay   ( it starts with a hyphen)  TOTAL MARK (blank space em

FILE-CONTROL ENTRIES FOR THE SEQUENTIAL FILES: The characteristics of each and every files handled in a program are specified in the ENVIRONMENT DIVISION and DATA DIVISION.

PROGRAM FOR INDEXED SEQUENTIAL FILE CREATION (RANDOM MODE): We have to write a program to create an Indexed Sequential File in random mode for Student particulars. Suppose jus

Write a COBOL IF sentence to use the values of numeric variables EXAM and COURSEWORK , both assumed to be with format PIC 999 and in the range 0 to 100 and to move the value:

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