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 / sivakumar sekharannair

01 level cannot have occurs clasue. Because 01 level is
used for the entire record of a file. entire record length
can not occur again. I.E. Fields in a file can only occur
again.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1902


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1115


What are 77 levels used for?

659


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

709


how do you reference the variable block file formats from cobol programs

684






What is the difference between a binary search and a sequential search what are the pertinent cobol?

735


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

708


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

697


What is Pic 9v99 Indicates in COBOL?

726


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

687


What is rmode(any) ?

686


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

732


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

748


In which area will you utilize 88 level items in cobol?

722