How do define Dymanic array in cobol how do u define single
demensional arry and multidymensional arry in ur cobol.
Answer Posted / mahesh
single dimensional array-
01 year grp.
05 month pic 9(2) occurs 12times.
multi dimensional array
01 year grp.
05 month occurs 12times.
05 weak occurs 4 times.
05 days pic x(4) occurs 7 times.
dynamic array-
01 yy grp.
05 month pic x(4) occurs 10-12 times depending upon 'yygrp'.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are declaratives and what are their uses in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
what is the difference between COBOL2 AND COBOL390?
What is report-item in COBOL?
What are the different rules to perform a Search?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Discuss about changing dataset name in proc.
What is the difference between goback, stop run and exit program in cobol?
What are various search techniques in cobol? Explain.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
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.
Which is not true about evaluate statement
Name the divisions, which are available in a cobol program?
A table has two indexes defined. Which one will be used by the SEARCH?