hw to create 3 dimensional array & hw to access it?
Answer / 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 |
What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there discription? What is retrive nth maximum salary from salary DB2 table. Can we redefine COM-3 variable with varchar variable?
What does the initialize statement do ?
What is the difference between COMP & COMP-3 ?
What is level 66 used for ?
why occurs clause not mentioned in 01 level
6 Answers HCL, NIIT, TCS, Tesco,
what are the error codes in cobol, db2, cics, vsam , and jcl
ZEROES and SPACES are _______ constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete
Can printer files (having 133 characters) be of variable length?
How we copy a program from production region to development region.What is the process & syntax ?
what is linkcard in cobol?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is perform what is varying?