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

01 level is not used for occurs.

N can go upto 32K (32768 bytes).

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write down the divisions of cobol program?

665


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2726


How can you get the ksds file records into your cobol program?

639


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

760


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2718






What is perform what is varying?

701


How do you get the data to code the BMS macro?

1472


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

641


What is an in line perform? When would you use it? Anything else you wish to say about it.

641


Give some examples of command terminators?

751


What are the different open modes available in cobol?

713


What is the difference between external and global variables in COBOL?

809


What the difference is between continue and next sentence?

651


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5673


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6804