What is the difference between SEARCH and SEARCH ALL? What
is more efficient?
Answer Posted / kumar raja.
1st answer is 100% correct.
Search
The search statement examines the table elements in a
sequential manner.this technique is called linear search.
Search-All
Is a binary search begins the examination of the elements
from the middle and in each examination it eliminates the
half the elements remaining to be searched.its applicable
only for sorted table.
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are the different rules of SORT operation?
Define cobol?
How to know whether the module is dynamical or statistical?
What is comp-1 and comp-2?
What guidelines should be followed to write a structured cobol prgm?
How many sections are there in data division in COBOL?
how to convert the recors form vsam file to db2 table tru file aid
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
how do you reference the fixed unblock file formats from cobol programs
What is a scope terminator give example?
how to access the file from prodution from changeman tool and to submit a file to production
how do you reference the variable block file formats from cobol programs