How do define Dymanic array in cobol how do u define single
demensional arry and multidymensional arry in ur cobol.

Answer Posted / mr.perfect

dynamic array is used to accept the value based on the
random value

dynamic array-
01 yy grp.
05 month pic x(4) occurs 10 times depending upon IDX
IDX is variable name


01 idx pic x(1).

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between array and sub-script ?

1166


Which is not true about evaluate statement

1585


When is inspect verb is used in cobol?

675


What is the difference between perform … with test after and perform … with test before?

883


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2098






What are the access modes of START statement?

719


what happens if parmparameter passes zero bytes to the program

1667


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1588


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8656


What rules are followed by the search verb.

638


How do you get the data to code the BMS macro?

1476


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

824


Explain how to differentiate call by context by comparing it to other calls?

689


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


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

825