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
Column and Field in COBOL program: In COBOL there are 2 types of entries termed as margin A and margin B entries. The Margin A entries start from the column 8, 9, 10 or 11 and

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

FILE DESCRIPTION- FIXED-LENGTH RECORDS: The normal characteristics of a file are explained in the file description (FD) entry of the DATA DIVISION.

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

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

We have input file, record layout is EMP ID (6 char) , EMP NAME (20 char), Designation (3 char),Salary (5 digit) Base Branch (10char) Grade (3 Alphanumeric). This is the input f

RULES FOR OCCURS CLAUSE: The rules apply for the OCCURS clause and the subscripts are as shown below. (1) The integer in the OCCURS clause should be a positive integer.

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


PROCEDURE DIVISION statements for the indexed files: All the statements which are available for a relative file are also available for an indexed file. READ STTATEMENT :