what is the difference between perform varying and perform
until

Answers were Sorted based on User's Feedback



what is the difference between perform varying and perform until..

Answer / santhosh vayathuri

perform varying is like for statement in cobol we wil be
assign and increment and check the condition in a same
statement but perform until is like while statement in c
here we wil check upto the condition but we wil not
initialize and increment the value

Is This Answer Correct ?    11 Yes 1 No

what is the difference between perform varying and perform until..

Answer / sk.abdul basith

perform until:-it is used to excute paragraph logic
multiple tims based on condition.

perform varying:- it is used to change conditional variable
values with in a perform

Is This Answer Correct ?    2 Yes 1 No

what is the difference between perform varying and perform until..

Answer / ssampath

Perform until will step through automatically used in one
dimensional table and a perform varying will calculate
index for two dimensional table

Is This Answer Correct ?    1 Yes 1 No

what is the difference between perform varying and perform until..

Answer / 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

More COBOL Interview Questions

what is the difference between Normal vaiable and comp variable.

5 Answers   DELL,


what is meant by binary search?

4 Answers  


What are options have been removed in COBOL 11?

1 Answers  


01 a pic s9(5) value '-12345' how it will be stored

7 Answers   ACS,


If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.

2 Answers  






if you give cylinder(1,1)how many cylinders it will be allocate?

3 Answers   Hewitt,


What are the ways you can generate a copybook?

2 Answers  


Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?

3 Answers   Microsoft,


I want ALL ERROR codes in VSAM

3 Answers   American Express, TCS,


In an EVALUTE statement is the order of the WHEN clauses significant?

4 Answers  


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

0 Answers  


Which division and paragraphs are mandatory for a COBOL program?

0 Answers  


Categories