why we are using set in searchall?
Answers were Sorted based on User's Feedback
Answer / nagaraj ramamoorthy
no need use the SET verb in search all (Binary Search)
because it will automatically initialise and increase the
index variable in the table.
| Is This Answer Correct ? | 9 Yes | 0 No |
In searchALL We Dont use any Set Verb . But in Search we
will use
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ashok
in search all(bynary search)
set is used in 2 ways
1) if u incress/decress indexed varibles
ie set ws-a upto/downto 5.
it incress/decress indexvalue 5.
2) we canot use move clause in indexed so we use set
place of move like
ie set ws-a to 5.
it simply move 5 to ws-a.
| Is This Answer Correct ? | 0 Yes | 1 No |
If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.
what is the difference between COBOL2 AND COBOL390?
A LESS 1200 IF B GREATER 25 MOVE 47 TOC ELSE MOVE 57 TO C IF A GREATER 249 MOVE 67 TO C ELSE NEXT SENTENCE ELSE IF B LESS 67 MOVE 27 TO C What will be the value of C, when A is 137 and b is 25
2)Where the Plan is located in CICS-DB2?
write a program to eliminate duplicate records in a input file and send them to output file.
How to recover a deleted source physical file from library?
Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-for-overhead (C) samount250 (D) 12demand
What is the use of EVALUATE statement?
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
How to read a 100 record from a file through cobol?
Minimum how many Number of Paragraphs are there in ID- Divison?
what is the purpose of linkage section?