hw to create 3 dimensional array & hw to access it?
Answer Posted / suneel
creating 3d array is same as creating 2d array....and
fetching is also same.
for example ......
in a country 5 states, in each state 5 politicians,each
politician has 4 accounts.........for that accessing as
follows...
declare i,j,k variables and
perform varying i from 1 by 1 until i>5
" " j " " j>5
" " K " " k>4
display accinfo(i,j,k)
end-perform
end-perform
end-perform.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the Purpose of POINTER Phrase in STRING command in COBOL?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
What is the compute verb? How is it used?
What the difference is between continue and next sentence?
Explain how you can characterize tables in cobol?
What is report-item in COBOL?
What rules are followed by the search verb.
Can a Search can be done on a table with or without Index?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Describe the cobol database components?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How to remove 2 duplicate records and copy only one using job control language?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
i want a program using by if, evaluate , string, unstring, perform, occurs?