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 difference between a binary search and a sequential search? What are the pertinent cobol commands?

916


Write the code to count the sum of n natural numbers.

938


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

1243


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

2258


What are the different rules for performing sort operation?

980


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

629


What is the difference between binary search and sequential search?

856


What is the Purpose of POINTER Phrase in STRING command in COBOL?

970


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1357


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

1710


how do you reference the printer file formats from cobol programs

905


What is rmode(24)

906


What is the Purpose of Pointer in the string?

833


Name some of the examples of COBOl 11?

2887


What rules are to be followed while using the corresponding options?

841