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 is the use of intialize verb?
Write the code implementing the perform … varying.
how to convert the recors form vsam file to db2 table tru file aid
Why did you choose to work with ibm mainframe cobol programming?
How many sections are there in data division in COBOL?
Write a cobol program making use of the redefine clause.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do you reference the fixed block file formats from cobol programs
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
Write a program to explain size error.
A table has two indexes defined. Which one will be used by the SEARCH?
what are decleratives in cobol?
what is the difference between COBOL2 AND COBOL390?