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 |
How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp
what will happen if pass values more than 100 using PARM parameter?
can we use reference modification an arry.
Why would you use find and get rather than to obtain?
What rules are followed by the search verb.
plz,could any one tell me? what about EBCDIC in cobol?briefly?
should I use Go back in the main program ? Yes we can use Go back in main program as well.
what is the purpose of linkage section?
if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?
How do define dynamic array in cobol.
I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.
How to retrive the 9th records out of ten records using the cobol program ?