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 |
using redefine can you redefine lower variable size to higher variable size?
why we are using set in searchall?
How to read a 100 record from a file through cobol?
How do you code Cobol to access a parameter that has been defined in JCL?
consider the following two statements MOVE 10 TO N PERFORM PARA-X N TIMES STOP RUN PARA-X MOVE 5 TO N how many times PARA-X willbe exicuted? a.10 b.5 c.infinate d.execution error
What is the difference between SEARCH and SEARCH ALL?
wht is structured cobol pgm and non structred cobol pgm ?
what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?
What is the use of LINKAGE SECTION?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
How many bytes do a s9 (7) comp-3 field occupy?