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 / anna.
For hard-coded table we define cobol table with OCCURS,
becouse it is fixed numbers of occurances.
For input-loaded table (varb/l) with OCCURS DEPENDING ON
counter.Loading with perform vayring.
In this case we have exac numbers of entry and table can
easily access.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
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?
Write a program to explain size error.
How do define dynamic array in cobol.
Which is not true about evaluate statement
Which mode is used to operate the sequential file?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How do you define a variable of comp-1 and comp-2?
) what is the difference between AID and HANDLE AID?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How do you reference the fixed block file formats from cobol programs
Write a program that uses move corresponding.
what is search and searchall?what is the diffrence between them?give an best example?
What is rmode(24)
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.