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

What kind of error is trapped by on size error option?

1293


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2493


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?

2332


A table has two indexes defined. Which one will be used by the SEARCH?

1330


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3319


example for sub strings ? and refernce modifications whit output pls

2370


What is the use of intialize verb?

1299


What type of SDLC u followed? Why?

2051


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1185


Which division and paragraphs are mandatory for a COBOL program?

1335


For rewrite, why is it mandatory that file needs to be opened?

1152


What is a SSRANGE and NOSSRANGE?

1533


what happens if parmparameter passes zero bytes to the program

2185


In which area will you utilize 88 level items in cobol?

1211


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1608