Whats the difference between search & search ALL?
Answers were Sorted based on User's Feedback
Answer / sushant kumar mohanty
Search : Sequential Search.
Table should have INDEX.
Table need not be in SORTED order.
Search ALL : Binary Search.
Table should have INDEX.
Table should be in sorted order of the searching
argument. There should be ASCENDING/DESENDING
Clause.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / rajvee
search needs the index to be set before use..search all
doesnt need it.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajvee
Search is Sequential Serach whereas Search All is Binary
Search.
Search needs the index key for the array whereas Search All
doesnt need it.
Search All is ideal for searching huge volume of data else
Search is easier.
Is This Answer Correct ? | 0 Yes | 1 No |
How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.
) How do u handle errors in BMS macro
which one is the best of com and com-3.using of real time ?
how can you identify wheather the program is using search or search all in the cobol program?
What is the use of LINKAGE SECTION?
What is the maximum data length for Numeric DataType ?
what is dynamic array in cobol? what is the difference b/w array and table in cobol?
Write the code to count the sum of n natural numbers.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How do you set a return code to the JCL from a COBOL program?