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
how to access the file from prodution from changeman tool and to submit a file to production
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Have you used comp and comp-3 in your project? And how?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How do you reference the following file formats from cobol programs?
Write a program to enter and display the names of students in a class using the occurs clause.
What are the rules of the move verb?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How to print 10 to 1 if the input have only 10 digit number?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What rules are followed by the search verb.
What are literals?
Why did you choose to work with ibm mainframe cobol programming?
What is the compute verb? How is it used?