i declare a Table as OCCURS 2000 TIMES.If the input file
has more than 2000 records will the COBOL program fail?
Answer Posted / kingmanish
Its in our hands whether we want the program to abend in
case of data overflow or not.
If we specify SSRANGE = Y the program will abend when the
number to records go beyond 2000.
Otherwise for NO SSRANGE the program will not abend.
Though that data will be lost as we cannot reference it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is the Purpose of Pointer in the string?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is the utilization of copybook in cobol?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
what is search and searchall?what is the diffrence between them?give an best example?
How many sections are there in data division in COBOL?
State the various causes of s0c1, s0c5 and s0c7.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the difference between external and global variables in COBOL?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the difference between next sentence and continue in cobol programing language?
For rewrite, why is it mandatory that file needs to be opened?