Control Data Corporation 3300 Reference Manual page 138

Computer systems usasi cobol/ master
Table of Contents

Advertisement

4-58
SEARCH ALL ID-I AT END GO TO END-SEARCH WHEN ID-I
(INDX-I)
=
"AIOO" GO TO EMPL-A.
The bisecting search proceeds until an ID-I is found with a value of
"AIOO". If none is found, control passes to the procedure,
END-SEARCH.
The search operation is illustrated below.
Put INDX-I
into high limit
Start
t
Set low lim it
to
beginning of table
Set high limit
to
end of table
Set INDX-l
to
midpoint
between low lim it and high lim it
Yes
Yes
No
Yes
END-
SEARCH
EMPL-A
Put INDX-I
into low limit
60229400

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 3300 and is the answer not in the manual?

This manual is also suitable for:

3500

Table of Contents