How to define a array dynamically.....

Answer Posted / billyboyo

In IBM's Language Environment you can dynamically
acquire storage (look up HEAP in the manual). The storage
you acquire you can use as you like. Can be an array,
therefore a dynamic array. It is a "work-around" as dynamic
arrays are not directly supported.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the compute verb? How is it used?

659


How do define dynamic array in cobol.

669


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2109


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

1788


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2723






Have you used comp and comp-3 in your project? And how?

2008


What is amode(31)

721


What is a SSRANGE and NOSSRANGE?

820


Why would you use find and get rather than to obtain?

683


how can i see junk values in dclgen or in hostvariable of comp ?

2544


Write a program that uses move corresponding.

673


What guidelines should be followed to write a structured cobol prgm?

670


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1022


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1701


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

672