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
what is search and searchall?what is the diffrence between them?give an best example?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
what is the difference between COBOL2 AND COBOL390?
what are decleratives in cobol?
What is a scope terminator give example?
how do you reference the rrds file formats from cobol programs
What is length is cobol?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is the difference between PIC 9.99 and 9v99 in COBOL?
Which Search verb is equivalent to PERFORM…VARYING?
how to refer the data field?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is rmode(24)
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic