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 difference between comp and comp-3?
What are 77 levels used for?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
For rewrite, why is it mandatory that file needs to be opened?
What is rmode(24)
IF I mention stop run in CICS what happens?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Can we change the password using ALTER? anyone tried and changed?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Explain what you understand by passing by value.
Which division and paragraphs are mandatory for a COBOL program?
What is the difference between external and global variables in COBOL?
Explain how to differentiate call by context by comparing it to other calls?
How to know whether the module is dynamical or statistical?