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

I have 2 dimensional array with having 100 elements. So how
to find the 11th item in an array?

Answer Posted / ajay kumar ande

search for element "ajay" in name column using 2d array.suppose a table of 5*5,

procedure division
MOVE +1 TO I
PERFORM UNTILL I>5

MOVE +1 TO J
PERFORM UNTILL J>5

IF NAME = "AJAY"
DISPLAY "FOUND"
ELSE DISPLAY "NOT FOUND"

ADD +1 TO J
END-PERFORM

ADD +1 TO I
END-PERFORM

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between cobol and cobol-ii?

1280


What are different data types in cobol?

1322


What is amode(24)?

1242


i want a program using by if, evaluate , string, unstring, perform, occurs?

4722


What do you understand by psb and acb?

1125


What is a scope terminator give example?

1113


How can you get the ksds file records into your cobol program?

1100


What is the local-storage section?

1148


How do define dynamic array in cobol.

1142


What is the problem of ordered sequential files access?

1164


) what is the difference between AID and HANDLE AID?

2159


What are the cobol coding sheets?

1275


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1242


how to convert the recors form vsam file to db2 table tru file aid

3265


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1209