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 / sumanth toom

It probably depends on the Cobol version you are using.
I dont think all cobol versions have the same working-
storage space !

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

686


explain sorting techniques in cobol program?

689


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.

2008


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2113


What is the Purpose of Pointer in the string?

643






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

704


How are the next sentence and continue different from each other?

766


how to access the file from prodution from changeman tool and to submit a file to production

6686


What rules are followed by the search verb.

638


Can we redefine the field of x(200) to less than 200?

818


What is a report item?

741


What is redefines clause in COBOL?

851


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

421


Write some characteristics of cobol as means of business language.

619


how to refer the data field?

1810