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 / prakash

01 level is not used for occurs.

MAXIMUM LIMIT IS 7 TIMES IN VS COBOL 11.

MAXIMUM LIMIT IS 3 TIMES IN VS COBOL.

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default value(s) for an initialize and what keyword allows for an override of the default?

695


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1931


Which mode is used to operate the sequential file?

667


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8653


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645






How do you reference the fixed block file formats from cobol programs

704


What is difference between static and dynamic call in cobol?

777


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

823


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

679


Write the code implementing the perform … varying.

646


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1931


How to print 10 to 1 if the input have only 10 digit number?

811


How you can read the file from bottom?

660


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2337


How you can characterize tables in cobol?

717