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 made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What are the pertinent COBOL
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Write a program that uses move corresponding.
What is the difference between external and global variables in COBOL?
Write a program to enter and display the names of students in a class using the occurs clause.
What is redefines clause in COBOL?
What are all the divisions of a COBOL program?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How can you get the ksds file records into your cobol program?
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 cobol?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need