whats the difference between search and search all?
Answers were Sorted based on User's Feedback
Answer / snehatechm
search is sequential search and it starts from position 1
search all is binary search and it starts searching from the
centre and if it does not match it searches in left or right
based on requirement
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / adarsh562
search is sequential search used for one dimensionl table
and one dimensional of multi dimensioan tables.the elements
need not be sorted.
search all is binary search.the elements must be sorted
before performing this statement
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / siddu
search is sequential search.in this data need not be in
sorted ordern sorted order. while dealing with less amount
of data search is much efficeint
searchall is binary search. here data must be in sorted
order. while deeling with lorge amount of data searchall is
efficient
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / khasim
Search is Sequential Search. Records need not in sorted
orer.
Searchall is Binary Search. Records should be in sorted
order.
In Search we should set position where we start.
In Searchall, we will not set the position.
We can write more than one WHEN clause in Search. But in
search all we should write only one WHEN clause.
| Is This Answer Correct ? | 1 Yes | 0 No |
Suppose i want to declare a binary comp fild of 7 byte .how to write?
what are the diferences b/w sub-script and index?
In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.
In COBOL "BEFORE" advancing is there or not ?
I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??
What is the difference between perform … with test after and perform … with test before?
) How do u handle errors in BMS macro?
How to increase the logical record length of existing PS file?
What is the difference between external and global variables in COBOL?
What are all the divisions of a COBOL program?
how to transfer the file from pc to mainframe??
how to access the file from prodution from changeman tool and to submit a file to production