How to define a array dynamically.....

Answer Posted / samay simant

Use the Occurs Depending on clause.

01 College-table
05 Student-table occurs 10 to 20 times depending on
NUM_Stud.

Here the size of array is dependent on Number of students.
Thus this is dynamically created.

Is This Answer Correct ?    5 Yes 1 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 arrays can be defined in COBOL?

663


Write the code implementing the perform … varying.

643


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


What is the local-storage section?

681






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.

3715


Can a Search can be done on a table with or without Index?

802


What are various search techniques in cobol? Explain.

645


What do you understand by psb and acb?

661


What are the different types of condition in cobol and write their forms.

656


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

820


What are the cobol coding sheets?

664


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1782


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