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

Write some characteristics of cobol as means of business language.

1076


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1379


How are the next sentence and continue different from each other?

1223


What is the difference between PIC 9.99 and PIC9v99?

1277


Give some examples of command terminators?

1193


HOw can I get the negative sign while deduct high value from low value

2210


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

1150


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2321


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2385


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

1118


What is link edit in cobol?

1148


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2478


Can we redefine the field of x(200) to less than 200?

1305


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

12180


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

1462