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 / sivakumar sekharannair
As ram said the number of occurances stored can be only 5
in either case. it cannot exceed more than that. what i
feel is when the first occurs clause is used regardless of
the number of occurances are loaded in the table the memory
allocation would be 5 bytes but if occurs 1 to 5 times
depending on ws-var, memory allocation will be made based
on the number of occurances loaded.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is a report item?
What is the problem of ordered sequential files access?
How do you reference the fixed block file formats from cobol programs
What kind of error is trapped by on size error option?
Explain how to differentiate call by context by comparing it to other calls?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
i need a small 3d program using inline and outline.
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?
How to print 10 to 1 if the input have only 10 digit number?
What is the LINKAGE SECTION used in COBOL?
What is the local-storage section?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the usage of comp fields in cobol?
How do you define a variable of comp-1 and comp-2?
Define cobol?