I have 2 dimensional array with having 100 elements. So how
to find the 11th item in an array?
Answer Posted / dipali jaju
give subscript as 11 ,like if we have temp as table name,
then
display "temperature : " temp(11)
but if table is two dimentional then
__________________________
| 1 | 2 |
|_________ _|____________|
| | | | |
|0-25 |26-50|51-75|76-100|
|_ele_|_ele |_ele |_ele |
so to fetch 11 the record we have to write temp(1,11)
Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
What type of SDLC u followed? Why?
What is cobol?
How do get the result of your program directly on your pc?
What are the different rules for performing sort operation?
Can we redefine the field of x(200) to less than 200?
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
how do you reference the esds vsam file formats from cobol programs
What is amode(24)?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Name the sections present in data division.
What is the Purpose of Pointer in the string?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is rmode(any) ?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
How can you get the ksds file records into your cobol program?