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
Write the code to count the sum of n natural numbers.
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Write down the divisions of cobol program?
What are the pertinent COBOL commands?
how do you reference the variable unblock file formats from cobol programs
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is report-item in COBOL?
how to refer the data field?
What is the difference between perform … with test after and perform … with test before?
what is the use of outrecord?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to print 10 to 1 if the input have only 10 digit number?
A table has two indexes defined. Which one will be used by the SEARCH?
What is the difference between comp and comp-3 usage?
How are the next sentence and continue different from each other?