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 |
how would you resolve sb37 and SE37?
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
i have variable record in the 5th, i want to sort from 5th filed ? how ?
Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?
which one is better among static call and dynamic call?
Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya
How can we pass data from cobol to JCl?
i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.
what happens if we dont close cursor in db2-cobol pgm?
can we use go to statement inline-perform?
What rules are to be followed while using the corresponding options?