what is search and searchall?what is the diffrence between
them?give an best example?
Answer Posted / 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 |
Post New Answer View All Answers
Discuss about changing dataset name in proc.
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 are the access modes of START statement?
) how do u code after getting data?
How many bytes S(8) comp field occupy and its maximum value?
What is amode(24)?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is difference between static and dynamic call in cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What are the different rules to perform a Search?
How do you differentiate between cobol and cobol-ii?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Explain what you understand by passing by value.
How do you reference the following file formats from cobol programs?
A table has two indexes defined. Which one will be used by the SEARCH?