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

How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that


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


Can we change the password using ALTER? anyone tried and changed?


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue


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


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.


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.


Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.


HOw can I get the negative sign while deduct high value from low value


what is the use of outrecord?


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there


how to move the records from file to array table. give with code example


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 an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly


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