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 many maximum no of variables can be declared in linkage section ?
how to change picture class of copy book variable inside program?
created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?
How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.
What is difference between static and dynamic call in cobol?
What is file status 92?
Write a cobol program making use of the redefine clause.
I have a occurs for 100 times but it has executed 101 time what could be the reason?
What do you understand by psb and acb?
With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?
What is amode(24)?
Can we use icetool in cobol program?