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...

perform I from 0 by 1 until I=5?How maney times it will
executes

Answer Posted / varun v

I agree with Answr #3 and Answer # 3 is correct..

PERFORM I FROM 0 BY 1 UNTIL I=5
........................
........................

END-PERFORM.

would give syntax error.
************************************************************
Correct one is given as below...

PERFORM varying i from 0 by 1 until i = 5
.............
.............
END-PERFORM.

and this should get executed 5 times....

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to enter and display the names of students in a class using the occurs clause.

1209


what is the use of outrecord?

2222


What the difference is between continue and next sentence?

1172


What is inspect in cobol ?

1304


what is difference between cobol and cobol/400

22929


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2277


What are the different rules for performing sort operation?

1225


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1257


What guidelines should be followed to write a structured cobol prgm?

1148


What is amode(24)?

1243


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1235


how to refer the data field?

2279


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1349


How do u write test cases?

2069


What is a SSRANGE and NOSSRANGE?

1472