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 is the compute verb? How is it used?
How are the next sentence and continue different from each other?
What is a report item?
how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Describe the cobol database components?
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 amode(24), amode(31), rmode(24) and rmode(any)?
How do you reference the fixed block file formats from cobol programs
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
Can a Search can be done on a table with or without Index?
) How do u handle errors in BMS macro?
What is length is cobol?
Why occurs cannot be used in 01 level in COBOL?
what are decleratives in cobol?