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 |
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
What is the difference between next sentence and continue in cobol programing language?
How do you define a variable of COMP-1? COMP-2?
waht is inspect verb? where it can be in real time?
what is the meaning of pic 9(09)v99-
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.
How you can read the file from bottom?
ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????
What is SDSF?
what are difference organizations in cobol and access mode in cobol? can you expalin what organization means while declaring for ksds,esds,rrds?
What is amode(31)