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
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How arrays can be defined in COBOL?
What is cobol?
A table has two indexes defined. Which one will be used by the SEARCH?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What are all the divisions of a COBOL program?
What the difference is between continue and next sentence?
What is the difference between binary search and sequential search?
How you can read the file from bottom?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is a scope terminator give example?
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.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is the difference between Global and External Variables?