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

what is the difference between occurs and occurs depending
on? i dont think so there is the difference in
storage..then why we should use occurs depending on?

Answer Posted / thilak

yes as for as storage is considered, there is no difference.
Occurs & occurs depending on allocates the maximum memory
specified in the "integer TIMES" CLAUSE.

But there are options of allocating memory dynamically at
the cost of runtime overhead.

for more
http://coding.derkeiler.com/Archive/Cobol/comp.lang.cobol/20
05-05/msg00396.html

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why occurs cannot be used in 01 level in COBOL?

1152


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1207


What is the local-storage section?

1133


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

2092


Write a program that uses move corresponding.

1118


What is comp-1 and comp-2?

1219


Which division and paragraphs are mandatory for a COBOL program?

1254


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

1118


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

1180


Write a program to enter and display the names of students in a class using the occurs clause.

1192


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1631


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

2657


how do you reference the esds vsam file formats from cobol programs

1196


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1101


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1280