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 do we get current date from system with century?
How do you define a sort file in JCL that runs the COBOL program?
What is the size of s9(19)comp3? explain
01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is ASKTIME, SUSPEND
What are the different rules to perform a Search?
how to transfer the file from pc to mainframe??
What are the different data types in cobol?
C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE
How is sign stored in a COMP field ?
What happens in the background of spool when we submit a job for compilation and execution... This is a recent question in ibm...Kindly help me.....