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

1869


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

6025


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

903


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

1240


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

762






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.

2712


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.

1359


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.

417


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

1132


what is the use of outrecord?

981


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

1126


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

1530


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1241


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

1931


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

1095