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
DIVIDE VERB: The aim of the DIVIDE verb is to divide one number by the other and to store the result.  There are few forms of this verb. One of its forms is as shown below:

Sign - Picture clause: The numeric data item can be signed or unsigned. If a numeric data is regarded as unsigned then during the execution these unsigned data items are treat

Data Names and Identifiers:   The Data name provides reference to the storage space in the memory where the real value is stored. This value takes part in the operation whene

CLASS CONDITION:   The class condition establishes whether or not the value of the operand is numeric or alphabetic. The operand is numeric if it contains only the digits 0 t

Occurs Clause: Let us establish tables with the help of an illustration. Assume that there are ten different types of income-tax rates that are read from some input medium and

Introduction to MOVE Verb: The aim of this section is to introduce the learner how to move data from one place to the other place in the memory. This is completed with the help

NONSTANDARD CLAUSES: The various clauses explained above are as per the ANSI standard. Also, most compilers provide for additional nonstandard clauses to meet the specific nec

FILE-CONTROL paragraph for the indexed files: The common format for the SELECT clause for a file is as shown below: SELECT  file-name  ASSIGN   TO  implementor -name

I uploaded a file from PC to Mainframe, variable LRCL 256. In my COBOL program I defined it as FD INPUT-FILE LABEL RECORDS ARE OMITTED BLOCK CONTAINS 0 RECORDING MODE

SPECIAL-NAMES: This paragraph is used to associate some hardware names to the user-specified mnemonic names. This paragraph is elective in all compilers. The format of this pa