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
How many sections are there in data division in COBOL?
Write a program to explain size error.
What is inspect in cobol ?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
State the various causes of s0c1, s0c5 and s0c7.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the use of intialize verb?
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...)
Explain what you understand by passing by value.
Name the divisions, which are available in a cobol program?
What is rmode(24)
Difference between array and sub-script ?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What are different data types in cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?