what is the difference between perform varying and perform
until
Answer Posted / vaneesh
Perform Varying:- Its a performing of loop using a working
storage variable having a predefined value and its
incremental or decremental value with each execution.
For Example
PERFORM PARA-A VARYING WS-A FROM 1 BY 1.
PERFORM UNTILL:- It is execution of a loop until a certain
condition is met. Please note that condition is checked
before the execution.
PERFORAM PARA-A UNTILL WS-A > 20.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How you can characterize tables in cobol?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is rmode(24)
What is the Purpose of Pointer in the string?
What is the difference between external and global variables in COBOL?
What are 77 levels used for?
What are the various section in data division and briefly explain them.
Explain what you understand by passing by value.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
How do you differentiate between cobol and cobol-ii?
Name some of the examples of COBOl 11?
What rules are to be followed while using the corresponding options?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
how to convert the recors form vsam file to db2 table tru file aid