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 r the types of perform statement

Answer Posted / jegadeesan

1. PERFORM PARA-NAME
2. PERFORM PARA-NAME N TIMES
3. PERFORM PARA-NAME UNTIL I > N
4. PERFORM PARA-NAME-1 THRU PARA-NAME-2
5. PERFORM PARA-NAME-1 THRU PARA-NAME-2 N TIMES
6. PERFORM PARA-NAME-1 THRU PARA-NAME-2 UNTIL I > N
7. PERFORM PARA-NAME-1 THRU PARA-NAME-2 VARYING I FROM 1 BY
1 UNTIL I > N
8. PERFORM PARA-NAME-1 THRU PARA-NAME-2 WITH TEST [BEFORE /
AFTER] VARYING I FROM 1 BY 1 UNTIL I > N
9. (IN-LINE PERFORM)
PERFORM I > N
END-PERFORM

Suggestions are welcome

JRamu

Is This Answer Correct ?    26 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between static and dynamic call in cobol?

1400


Write the code implementing the perform … varying.

1079


what is the use of outrecord?

2227


What are the pertinent COBOL commands?

3188


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

869


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2143


Which Search verb is equivalent to PERFORM…VARYING?

1048


How do you reference the following file formats from cobol programs?

1173


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

3268


Explain about different table spaces.

1116


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

1156


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

1289


Why would you use find and get rather than to obtain?

1197


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1224


Why did you choose to work with ibm mainframe cobol programming?

1123