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
How do you reference the fixed block file formats from cobol programs
How many bytes S(8) comp field occupy and its maximum value?
What is the difference between comp and comp-3 usage?
IF I mention stop run in CICS what happens?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is a SSRANGE and NOSSRANGE?
What is the difference between perform … with test after and perform … with test before?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
how to refer the data field?
What is the problem of ordered sequential files access?
Can we redefine the field of x(200) to less than 200?
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 to traceback if I am getting SOC7 or SOC4 abend? List down the steps
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How do you reference the following file formats from cobol programs?