whats the disadvantage of search all over search?
Answers were Sorted based on User's Feedback
Answer / sharath
1)Search all is applied only for single dimensional array.
However Search can be applied against single or
multidimensional arrays.
2)Only one WHEN condition is coded in Search all.
Is This Answer Correct ? | 12 Yes | 2 No |
Answer / snehatechm
computation speed is fast in search all.
disadvange is file should be in sorted order to be searched.
Is This Answer Correct ? | 10 Yes | 2 No |
Answer / animesh
In search all,
in when condition we can give only = condition
but in search we can give any conditional operator.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / venkat
search is a normal search so it takes a less time to search
the related information but search all first,it will divide
the table and then it will search depends on the
imp.statements like bottom up or up down statments so,for
that one search all will take sme time to search the
contents. for a large no records also search is
sufficient..
correct me ...if wrong..venkat
Is This Answer Correct ? | 2 Yes | 2 No |
how do you define single dimensional array and multidimensional array in your cobol?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
What is the significance of 'above the line' and 'below the line'?
what is the use of keep and pass in disp
i want to store 20 digits . h will u do it in cobol ?
How do you code Cobol to access a parameter that has been defined in JCL?
how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
how do you move only numeric data from A to B 01 A pic x(10) value 'a1b2c34d5e'. 01 B pic x(5).
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
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.
How we copy a program from production region to development region.What is the process & syntax ?