i declare a Table as OCCURS 2000 TIMES.If the input file
has more than 2000 records will the COBOL program fail?

Answer Posted / sadaf rehan

Table OCCURS Clause has nothing to do with the number of
records in the input file..
if you are reading sequentially all the records will get
processed..

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the pertinent COBOL

2244


Explain the configuration section of a cobol program with examples of syntax.

867


What is the utilization of copybook in cobol?

884


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

1046


What are all the divisions of a COBOL program?

895


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

836


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

853


Mention the guidelines to write a structured cobol program?

831


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

1100


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

894


What is rmode(any) ?

899


what are decleratives in cobol?

2002


How you can characterize tables in cobol?

924


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.

1350


What is the usage of comp fields in cobol?

877