Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the use of intialize verb?

1254


Write the code implementing the perform … varying.

1062


how to convert the recors form vsam file to db2 table tru file aid

3262


Why did you choose to work with ibm mainframe cobol programming?

1099


How many sections are there in data division in COBOL?

1133


Write a cobol program making use of the redefine clause.

1180


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1322


How do you reference the fixed block file formats from cobol programs

1227


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

1083


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1143


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

1534


Write a program to explain size error.

1199


A table has two indexes defined. Which one will be used by the SEARCH?

1283


what are decleratives in cobol?

2259


what is the difference between COBOL2 AND COBOL390?

3051