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

how do you reference the printer file formats from cobol programs

1205


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

2366


What is length is cobol?

1096


) How do u handle errors in BMS macro

2025


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

1128


how can i see junk values in dclgen or in hostvariable of comp ?

2989


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1077


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2959


State the various causes of s0c1, s0c5 and s0c7.

1072


What is the use of intialize verb?

1234


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

4714


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1288


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9088


Name the divisions, which are available in a cobol program?

1227


What is static and dynamic call in cobol?

1054