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
how do you reference the variable block file formats from cobol programs
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Write a program that uses move corresponding.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How you can characterize tables in cobol?
What do you understand by psb and acb?
What is a SSRANGE and NOSSRANGE?
what is the use of outrecord?
What is the difference between PIC 9.99 and 9v99 in COBOL?
) How do u handle errors in BMS macro?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Name some of the examples of COBOl 11?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Difference between array and sub-script ?