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 to define a array dynamically.....

Answer Posted / samay simant

Use the Occurs Depending on clause.

01 College-table
05 Student-table occurs 10 to 20 times depending on
NUM_Stud.

Here the size of array is dependent on Number of students.
Thus this is dynamically created.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is amode(31)

1126


How to print 10 to 1 if the input have only 10 digit number?

1237


What is amode(24)?

1204


What is an in line perform? When would you use it? Anything else you wish to say about it.

1038


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

1125


What is the Purpose of Pointer in the string?

1042


Name the divisions, which are available in a cobol program?

1193


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3202


What is the difference between PIC 9.99 and 9v99 in COBOL?

1267


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1528


Write some characteristics of cobol as means of business language.

1107


What rules are followed by the search verb.

1077


How you can read the file from bottom?

1105


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

1256


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2499