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


Please Help Members By Posting Answers For Below Questions

How to print 10 to 1 if the input have only 10 digit number?

808


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

624


example for sub strings ? and refernce modifications whit output pls

1843


What is the default value(s) for an initialize and what keyword allows for an override of the default?

691


What are all the divisions of a COBOL program?

660






How do get the result of your program directly on your pc?

1878


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

734


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

817


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1607


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

816


Define static linking and dynamic linking.

660


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

706


What is the difference between PIC 9.99 and 9v99 in COBOL?

729


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

672


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2052