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
Why occurs cannot be used in 01 level in COBOL?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the local-storage section?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Write a program that uses move corresponding.
What is comp-1 and comp-2?
Which division and paragraphs are mandatory for a COBOL program?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Write a program to enter and display the names of students in a class using the occurs clause.
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?
how to move the records from file to array table. give with code example
how do you reference the esds vsam file formats from cobol programs
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?