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 |
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.
How can you add a particular field/coloumn in copybook?
ZEROES and SPACES are _______ constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
How to display string in the reverse order using occurs clause?
What are all the divisions of a COBOL program?
What is the local-storage section?
how do you define single dimensional array and multidimensional array in your cobol?
how do you reference the printer file formats from cobol programs
how would you resolve sb37 and SE37?
BY seeing a program how can we say that it is static call or dynamic call