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 |
What is SET TO TRUE all about, anyway?
Explain the configuration section of a cobol program with examples of syntax.
consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
What is the use of LINKAGE SECTION?
Move Zeroes to I move 5 to j perform para1 varying I from 10 by -2 until I = 0 display j. para1. Add 5 to j. What’ll be the value after execution of display stmt. A) 35 B) 40 C) 30 D) 25 please explain how?
What COBOL construct is the COBOL II EVALUATE meant to replace?
input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.
what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?
Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above
in cobol i have one file it contains records like 10,4,23,98,7,90..... total records 100. iwant 10 to 20 in reverse order in cobol environ ment any one please give the answer......
01 a pic s9(5) value -12345, if we disply a , the sign will overpunched with last digit but i need to get the miuns sign in the result?
how to access the file from prodution from changeman tool and to submit a file to production