1)what is the maximum limit for occurs?
Eg: 01 A PIC X(10) OCCURS N TIME.
What is the max value for N?
Answer Posted / asmara
Hi,
Here u mention it in 01 level so it will give compilation
error and ambiguity occurs so better to give from 02-49
levels will be fine
And where as the max limit for occurs Clause where
OCCURS ON DEPENDING CLAUSE will be 16,711,568 Bytes and the
table size of occurs wont go beyond this limits.
If any update information regarding this, let me inform.
Regards,
Asmara
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
In COBOL, what is the different between index and subscript?
What is comp-1 and comp-2?
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.
what is s000 u4087 error? please give the all error codes in cobol,jcl.
how to convert the recors form vsam file to db2 table tru file aid
What is the difference between comp and comp-3 usage?
What are literals?
A table has two indexes defined. Which one will be used by the SEARCH?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What are the cobol coding sheets?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
example for sub strings ? and refernce modifications whit output pls
How arrays can be defined in COBOL?
Discuss about changing dataset name in proc.
Write a program that uses move corresponding.