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 Pic 9v99 Indicates in COBOL?

1202


What is the LINKAGE SECTION used in COBOL?

1485


Explain about different table spaces.

1060


Write the code implementing the perform … varying.

1026


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2078


How do you define a variable of comp-1 and comp-2?

1161


What are the different rules to perform a Search?

1056


Which division and paragraphs are mandatory for a COBOL program?

1215


In COBOL programming, what is PERFORM? What is VARYING?

1109


Explain how you can characterize tables in cobol?

1029


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

1120


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.

4129


What are the cobol coding sheets?

1200


Write a program that uses move corresponding.

1096


how to move the records from file to array table. give with code example

2647