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
How many bytes S(8) comp field occupy and its maximum value?
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?
Mention the guidelines to write a structured cobol program?
Explain how to differentiate call by context by comparing it to other calls?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Write the code to count the sum of n natural numbers.
how to access the file from prodution from changeman tool and to submit a file to production
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
i want a program using by if, evaluate , string, unstring, perform, occurs?
When is inspect verb is used in cobol?
what are decleratives in cobol?
How do you differentiate between cobol and cobol-ii?
What are the pertinent COBOL
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How do we get current date from system with century in COBOL?