Answer Posted / vish
If you talk in COBOL, then yes we have type os searches -
sequential search and Binary search.
Syntax:
SEARCH - Sequential
SEARCH ALL - Binary
It is important to note that for the Binary search the
input file (or table) must be sorted order else the result
of the SEARCH ALL will be wrong.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What do you understand by psb and acb?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
how do you reference the fixed unblock file formats from cobol programs
Define cobol?
Can you please let me know the centre name of INS certification in Kolkata.
Explain the configuration section of a cobol program with examples of syntax.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
) How do u handle errors in BMS macro?
Write the code to count the sum of n natural numbers.
what happens if parmparameter passes zero bytes to the program
How do define dynamic array in cobol.
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.
Are you comfortable in cobol or jcl?
How you can read the file from bottom?
What is rmode(any) ?