what is search and searchall?what is the diffrence between
them?give an best example?

Answers were Sorted based on User's Feedback



what is search and searchall?what is the diffrence between them?give an best example?..

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

what is search and searchall?what is the diffrence between them?give an best example?..

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

what is search and searchall?what is the diffrence between them?give an best example?..

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

Post New Answer

More COBOL Interview Questions

please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,


I have a occurs for 100 times but it has executed 101 time what could be the reason?

4 Answers  


What are the different rules of SORT operation?

0 Answers  


What is report-item in COBOL?

0 Answers   Arigo Infotech,


how can we find total no of records in a file ....is there any utility......?

3 Answers   IBM,






Have you used comp and comp-3 in your project? And how?

0 Answers   IBM,


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?

0 Answers  


What do you understand by passing by reference and passing by content?

1 Answers  


What is Comm?

2 Answers   IBM, Kemper Corporation,


1.Can we define condition-name conditions in FD entry.

11 Answers  


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

2 Answers  


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

0 Answers  


Categories