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 Move corresponding: Consider the DATA DIVISION entries shown below. Suppose it is needed that the data stored in the 4 fields of the PAY_REC should be

PROGRAM FOR MULTIPLY VERB: We have to write a simple program to elaborate MULTIPLY verb. You can also use the edit characters in the program. Identification division. Pr

SIMPLE MERGE VERB: Like sorting, the merging of files is often required in different commercial application. It is likely to merge two or more files with the help of one MERGE

LABEL RECORD CLAUSE: This clause specifies whether or not the standard header and trailer labels must be present in the magnetic-tape files. VALUE OF CLAUSE: The VAL

, (Comma) : A comma, whenever used in a picture, is considered as an insertion character and inserted wherever it become visible. There can be more than one comma in the pictu

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

Concept of a two-dimensional table: Concept of a two-dimensional table can be easily extended to tables having three or more dimensions. The Handling of tables up to three dim

Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST

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

PROGRAM FOR INDEXED SEQUENTIAL FILE CREATION: We have to write a program to create an Indexed Sequential File in a dynamic mode for Student particulars. Suppose just 3 fields: