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
Can you please let me know the centre name of INS certification in Kolkata.
When is inspect verb is used in cobol?
Name the sections present in data division.
What is static and dynamic call in cobol?
Which Search verb is equivalent to PERFORM…VARYING?
How many bytes S(8) comp field occupy and its maximum value?
Write a program that uses move corresponding.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Explain how to differentiate call by context by comparing it to other calls?
What is the difference between external and global variables in COBOL?
What is the difference between Call and a Link?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
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.
Have you used comp and comp-3 in your project? And how?