What is the difference between SEARCH and SEARCH ALL? What
is more efficient?
Answer Posted / sunrays
multiple when conditions can be used in search.
in search all single when condition should be used.
in search SEARCH key word is used.
in search-all SEARCH ALL key word is used.
table may not be in sorted order for search.
table must be in sorted order.
search is a linear search. search all is binary search.
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
For rewrite, why is it mandatory that file needs to be opened?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Define cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
what is difference between cobol and cobol/400
Write a cobol program making use of the redefine clause.
Why occurs cannot be used in 01 level in COBOL?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
how do you define single dimensional array and multidimensional array in your cobol?
What guidelines should be followed to write a structured cobol prgm?
What is amode(31)
What is rmode(any) ?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What are the different rules for performing sort operation?