When search all is used in cobol program without sorted
input data?
Answers were Sorted based on User's Feedback
Answer / hemant
Answer#3 is correct.
If data is not sorted, Program Compilation wont show any
error message. But, program will give unpredictable result.
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / sivakumar sekharannair
Search all is a binary search and is searched with the help
of key. so the table should be necessarily sorted
| Is This Answer Correct ? | 14 Yes | 5 No |
I think answer#2 is correct.
But i think the main intention of the question was what if
we dont sort the input data will the Search all work or not
work?
So if this is what intended by the question,than i think
that definately Search all will work but it will give
unpredictable results.
Correct me if i am wrong, in this scenario.
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / suputhru
I agree with Rookie.
to use Search all table should be necessarily sorted.
If data is not sorted, Program Compilation wont show any
error message. But, program will give unpredictable result.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / prasad
Yes.It Wount shoe any compilation probelms.It will sort but
gives unpredictable result.
| Is This Answer Correct ? | 1 Yes | 0 No |
what is S04E error in jcl?
11 Answers IBM, L&T,
what is the use of keep and pass in disp
What is the difference between Global and External Variables?
Whats the use of Examine command? can someone help me?
Can anybody give me example of subscript and index
In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)
What is the difference between Structured COBOL Programming and Object Oriented COBOL ?
wht is packed decimal in cobol
What do you understand by psb and acb?
What is the reference modification.
What is the different between index and subscript?
How can we know that cobol program is using report file or simple file....?