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


Please Help Members By Posting Answers For Below Questions

Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

718


Write the code to count the sum of n natural numbers.

699


What is a SSRANGE and NOSSRANGE?

820


What is rmode(24)

678


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1955






What is inspect in cobol ?

801


how can i see junk values in dclgen or in hostvariable of comp ?

2544


Difference between cobol and cobol-ii?

704


explain sorting techniques in cobol program?

689


What are all the divisions of a COBOL program?

663


Explain what you understand by passing by value.

699


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1701


What is the difference between PIC 9.99 and 9v99 in COBOL?

732


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

672


how do you reference the fixed unblock file formats from cobol programs

712