can u plz expain me how to declare dynamic array? what is
the meaning of depending on clause in dynamic array?
Answer Posted / kk
dynaic array is notink but a two dimension array.
01 studet.
02 stunam occurs 3 to 4 times depanding on n.
03 stuname pic x(15).
03 stumrk occurs 2 times.
04 stumark pic 9(3).
this is dynamic array.now runtime will pass the input.because
using depanding clause.
depanding clause pass the value runtime.
Is This Answer Correct ? | 3 Yes | 12 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How many bytes S(8) comp field occupy and its maximum value?
What rules are to be followed while using the corresponding options?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How do you differentiate between cobol and cobol-ii?
What do you understand by psb and acb?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How arrays can be defined in COBOL?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is a report item?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is inspect in cobol ?