what is search and searchall?what is the diffrence between
them?give an best example?
Answers were Sorted based on User's Feedback
Answer / sid
Search is a leniar search and search all is binary search.
In search all it required to be sorted all the records in
assending or descending order.
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / naveen
-Search is a linear search, search all is a binary search.
-search is performed in sorted and unsorted record, searchall is only in sorted record.
-in search multiple when clause is used, in search all single when clause is used.
-search is always used in small table, search all is always used in large table.
-Index value is set to 1. in search all no need!
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / siri
SEARCH SEARCHALL
-------- ---------------*SEARCH IS A LINEAR SEARCH *SEARCHALL IS A BINARY SEARCH
*DATA NEED NOT BE IN SORTED *DATA MUST BE IN SORTED ORDER
ORDER
*SEARCH IS EFFICIENT THAN *SEARCHALL IS EFFICIENT THAN
PERFORM SEARCH
*MULTIPLE WHEN CONDITINS ARE *ONLY ONE WHEN CONDITION IS
SPECIFIED SPECIFIED.
*ANY RELATIONAL OPERATOR(=,<= *ONLY = CAN BE USED
>=)CAN BE USED.
Is This Answer Correct ? | 0 Yes | 0 No |
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
I have a occurs for 100 times but it has executed 101 time what could be the reason?
What are the different rules of SORT operation?
What is report-item in COBOL?
how can we find total no of records in a file ....is there any utility......?
Have you used comp and comp-3 in your project? And how?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What do you understand by passing by reference and passing by content?
What is Comm?
2 Answers IBM, Kemper Corporation,
1.Can we define condition-name conditions in FD entry.
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?