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 JOBLIB and STEPLIB in JCL? what is the purpose of using it?
What are different file OPEN modes available in COBOL?
What is IMPACT analysis?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
how do u link sub pgm to main pgm ?
how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it
what is the coding difference between COBOL and CICS.
I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division
How can you submit a job from COBOL programs?
What was removed from COBOL in the COBOL II implementation?
01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?
if someone is using my file,how can i find which user id is using?