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
What are the pertinent COBOL
Explain the configuration section of a cobol program with examples of syntax.
What is the utilization of copybook in cobol?
What is the difference between external and global variables in COBOL?
What are all the divisions of a COBOL program?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Mention the guidelines to write a structured cobol program?
Can we redefine the field of x(200) to less than 200?
In which area will you utilize 88 level items in cobol?
What is rmode(any) ?
what are decleratives in cobol?
How you can characterize tables in cobol?
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.
What is the usage of comp fields in cobol?