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

can we use the two 01 level in file discription ?

6 Answers  


What are the different ways to run a COBOL DB2 program using JCL?

2 Answers  


if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?

3 Answers  


Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?

7 Answers   Bank Of America, Mind Tree,


What is static and dynamic call in cobol?

0 Answers  






in cobol i have one file it contains records like 10,4,23,98,7,90..... total records 100. iwant 10 to 20 in reverse order in cobol environ ment any one please give the answer......

2 Answers   IBM,


I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?

5 Answers  


how can you identify wheather the program is using search or search all in the cobol program?

5 Answers   iGate,


what is the difference between Plan & package?

1 Answers   IBM,


I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?

1 Answers  


What is rmode(any) ?

0 Answers  


) What is the use of IGNORE?

1 Answers   IBM,


Categories