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 |
what is SYNCHRONIZATION?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
what is soc7 abend?how u can trace it?
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
how to resolve the file status 47.......
What is the difference between working storage copybook and linkage section copybook?
What type of Call you would use if you don;t want the control back to the calling program?
WE HAVE 5 DIFFERENT RECORDING MODE IN COBOL.FIXED, FIXEDBLOCK, VARIABLE, VARIABLEBLOCK AND UNDEFINED. WHAT IS THE DIFFERENCE AMONG ALL AND WHICH TYPE OF FORMAT SHOULD BE USED WHEN
01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy
Define static linking and dynamic linking.
What are 77 levels used for?
what happens if we dont close cursor in db2-cobol pgm?