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 the mode in which you will OPEN a file for writing?
If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.
How To move a value to an array using move verb?
what is srange and nosrange pls reply to ths question ?
suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.
I have a seq file with different fields one field is address with pic x(50) as input in a cobol program. In address there is 'PUNE' at any different positions in the address field ( form 1 t0 50) . My requirement is select the fields with address 'PUNE' by using cobol. Please suggest
77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?
What is sqlca and why is it needed in any cobol-db2 program?
How you can read the file from bottom?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
can you declare redefine in level 01?
which certifications r 4 cobol,jcl,db2,cics what is format of xam n what is importance of these certifications... plz post answer only if u r sure... thanks