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 |
a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?
tell me about examine inspect and evaluate ?
What is the difference between NEXT SENTENCE and CONTINUE?
What is the difference between a binary search and a sequential search?
What are decleratives in COBOL ?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Write a program to enter and display the names of students in a class using the occurs clause.
how to know that the file has 300 records how to acess it?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How many maximum number of procedures can we write in one COBOL program?
What is 88 level used for ?
how do you reference the fixed unblock file formats from cobol programs