what is search and searchall?what is the diffrence between
them?give an best example?
Answer Posted / 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 |
Post New Answer View All Answers
How to remove 2 duplicate records and copy only one using job control language?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How do you reference the fixed block file formats from cobol programs
How to know whether the module is dynamical or statistical?
What are the rules of the move verb?
Name the divisions, which are available in a cobol program?
What is redefines clause in COBOL?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
In COBOL programming, what is PERFORM? What is VARYING?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Write the code implementing the perform … varying.
Why occurs cannot be used in 01 level in COBOL?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What are different data types in cobol?