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 is the use of outrecord?
Why occurs cannot be used in 01 level in COBOL?
HOw can I get the negative sign while deduct high value from low value
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Write a program to explain size error.
How you can characterize tables in cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
IF I mention stop run in CICS what happens?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What are 77 levels used for?
Write a program to enter and display the names of students in a class using the occurs clause.
How you can read the file from bottom?
What rules are followed by the search verb.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?