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 |
hi friends,can any one post the ibm mainframe inteqview questions for 1year exp candidate,for itc infotech interview?. have any body attended for this in the past?...
how do you reference the printer file formats from cobol programs
what is level 66 means??
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How to recover a deleted source physical file from library?
If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value
How include time & date in the report generation in cobol programing?
what is sync clause?
How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?
i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?