What is the difference between SEARCH and SEARCH ALL?
Answer Posted / karan
search is linear search. search the data based on condition.
search can work with multiple when conditions.
data is no need sorted order.
when ever we searching the data index clause must be used.
this will take more time compare with search all.
Search all:Binary search.
data must be a sequence either ascending or descending order .
only one when condition can be used.
this will take less time
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
In COBOL programming, what is PERFORM? What is VARYING?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What are the access modes of START statement?
What the difference is between continue and next sentence?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Name some of the examples of COBOl 11?
How can you get the ksds file records into your cobol program?
Write the code implementing the perform … varying.
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is comp-1 and comp-2?
Write down the divisions of cobol program?
) how do u code after getting data?
In which area will you utilize 88 level items in cobol?