how can you identify wheather the program is using search
or search all in the cobol program?
Answers were Sorted based on User's Feedback
Answer / y@$w@nth
The identification will be depend on many ways
The following are some ways:
1.first thing is that we can see the keywords like SEARCH or
SEARCH ALL
2.Second thing is that the array type(single dimension or
multidimension) that is followed by
SEARCH(multidimension/single dimension) or SEARCH ALL(only
single dimension) keyword.
3.third thing is that what are the relational operators we
used (multiple relational operators can be used in SEARCH
like AND OR etc... but in case of SEARCH ALL Only =
relational operator is allowed )
4.And the fourth one is that(only one when condition will be
used in SEARCH ALL. multiple WHEN conditions can be used in
SEARCH)
Let me know if any other..........
Y@$W@nth....
Cheers...
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / abhi
i would like to add one more that is in search all array
should be in ascending or descending order but in search its
not necessary.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / krishnachaitanya
when we declare table ocuurs clause we give one key either
accending or descending key for binary search means we use
ordered data in that we use seachall key word here we get
only one record no duplicate.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravikrian
while using search the data may be in any order, wher as in
search all the data must be in sorted order and there should
not be any duplicates in the data.
Is This Answer Correct ? | 0 Yes | 0 No |
In addition to above, it is required to provide index some
value using SET.
SET IDX to 1.
Is This Answer Correct ? | 0 Yes | 0 No |
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that perticular record got abend?
If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1
how to access the file from prodution from changeman tool and to submit a file to production
SSRange is used to do a range check on which of the Following. SUBSCRIPT,INDEX,REFERENCE MODIFICATION,Run-time option.
what is level 66 means??
hi friends,can any one post the ibm mainframe inteqview questions for 1year exp candidate,for itc infotech interview?. have any body attended for this in the past?...
if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?
Whats the difference between search & search ALL?
what are the isolation levels and where we use it in the db2 program
what is sync clause?