Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.

8 Answers   Danske, iGate,


i have a sequencial file contains multiple records, i want to extract one row which contains various fields like order number,date,warehouse,.ect.. in to the another file by accepting the order number from jcl. how can i do it. pls help me..

4 Answers   CGI,


what is amode(24), amode(31), rmode(24) and rmode(any)?

0 Answers  


In COBOL programming, what is PERFORM? What is VARYING?

0 Answers   CDC,


What is the difference between a binary search and a sequential search what are the pertinent cobol?

0 Answers  


suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.

2 Answers   IBM,


If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.

1 Answers   HCL,


What is amode(24)?

0 Answers  


How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer Please Reply .....Thanks From Shree

3 Answers   Merrill Lynch,


Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I want to read wither i/p file-2 or i/p file-3.Now, depending on certain business logic applied to the record read from either file-2 or file-3, I decide to write them to either output file-2 or output file-2. Question: How many job steps are necessary to implement a solution for the above.

2 Answers   TCS,


Discuss about changing dataset name in proc.

0 Answers  


how we rectify soc7 and soc4 errors in project?

1 Answers   Anaxis, TCS,


Categories