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
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What is a SSRANGE and NOSSRANGE?
how do you define single dimensional array and multidimensional array in your cobol?
How you can read the file from bottom?
Whats the difference between search & search ALL?
What are the different open modes available in cobol?
What kind of error is trapped by on size error option?
What are 77 levels used for?
Mention the guidelines to write a structured cobol program?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is comp-1 and comp-2?
Difference between array and sub-script ?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Explain how to differentiate call by context by comparing it to other calls?
I have a File that has duplicate records. I need only those records that occur more than thrice.?