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...

can u plz expain me how to declare dynamic array? what is
the meaning of depending on clause in dynamic array?

Answer Posted / amarnadh reddy

When a table of variable size is required, the occurs
depending clause may be used.

01 A1 PIC 99.
01 REC-1.
05 P1 PIC XX.
05 P2 PIC 99 OCCURS 1 TO 90 TIMES DEPENDING ON A1.

Here depending on the value of the data name A1 the size of
P2 Will be decided. It can be anything between 1 and 90.

Is This Answer Correct ?    31 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is amode(31)

1182


What do you understand by psb and acb?

1129


How to know whether the module is dynamical or statistical?

1148


Write some characteristics of cobol as means of business language.

1147


IF I mention stop run in CICS what happens?

2382


What are literals?

1146


how do you reference the printer file formats from cobol programs

1227


In which area will you utilize 88 level items in cobol?

1166


What are the different data types in cobol?

1454


explain sorting techniques in cobol program?

1208


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2593


What is perform what is varying?

1183


How are the next sentence and continue different from each other?

1302


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1126


what is search and searchall?what is the diffrence between them?give an best example?

6841