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

Hi,

maximum occurs we can use in company is 7 occurs

01 level is not used for occurs clause

N can go upto 16,711,568 i think


Harish poomgame shivappa
NIIT Technolgies
Kolkata

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Purpose of POINTER Phrase in STRING command in COBOL?

711


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.

5668


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1948


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

813


Differentiate between structured cobol programming and object-oriented cobol programming.

661






Difference between cobol and cobol-ii?

703


how do you reference the rrds file formats from cobol programs

789


Describe the cobol database components?

672


i need a small 3d program using inline and outline.

1629


How do define dynamic array in cobol.

666


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

2096


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

1470


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

886


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

725


how to move the records from file to array table. give with code example

2212