Illustration of perform with varying option, COBOL Programming

Illustration of Perform with varying option:

A) Perform para-3 varying the k from 1 by 1 until k > 10.

Here para-3 will be constantly executed 10 times (For k=1,2,3, .....10)

B) Perform p-2 thru p-4 varying the j from 1 by 2 until j > 100.

Here the paragraphs from p-2 through p-4 will be constantly executed for j=1,3,5 ...,99.

C) Perform the para-3 varying I  from 1 by 1 until I  > 50  after J from 1 by 1 until J > 10.

Here the para-3 will be executed 500 times. Keeping I=1

(J=1,2,3,...10),I=2 (J=1,2,3...10) .... And I=50 (J=1,2,3,...10). In this illustration 2 loops are used.

 

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







Related Discussions:- Illustration of perform with varying option, Assignment Help, Ask Question on Illustration of perform with varying option, Get Answer, Expert's Help, Illustration of perform with varying option Discussions

Write discussion on Illustration of perform with varying option
Your posts are moderated
Related Questions
Example of Redefines clause: This illustration describes a sales record that may either contain the total amount of sale or the quantity (QTY) and UNIT-PRICE. The aim of such

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples:

Introduction to COBOL: In the year 1959, a new language named the COBOL ( CO mmon B usiness O riented L anguage) was introduced remembering the business purpose application

REWRITE STATEMENT: The REWRITE statement has the format for a relative file as shown below, REWRITE record-name  [ FORM identifier ]

SIGN CONDITION:   The sign condition establishes whether or not the algebraic value of an operand is negative, positive or zero. The operand can be either the numeric identif

FILE-CONTROL paragraph for the relative files: The normal format for the SELECT clause for a relative file is as shown below. SELECT  file-name  ASSIGN  TO  implementor-nam

PROGRAM FOR MASTER FILE MAINTENANCE: We have to write a program to keep the stu-file for which a record has just 2 fields,viz., rno(Roll Number) and name(Student Name). Give t

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

File Activity: The file activity is a measure of the proportion of records processed during an update run. Therefore we define the activity ration as shown below. Activi

Group Item as Operand in the Relational Condition: Whenever an operand of a relational condition is the group item, the item is then considered to be an alphanumeric field. Th