Control Data Corporation 3300 Reference Manual page 55

Computer systems usasi cobol/ master
Table of Contents

Advertisement

60229400
3.
A table referenced by a SEARCH statement or by indexing can be
described as follow s :
01
DATA-LIST OCCURS 25 TIMES INDEXED BY LIST-INDEX,
ITEM - INDEX.
03
ITEMA PICTURE 9(3) OCCURS 10 TIMES
The SET statement can be used to set the initial values of LIST-INDEX
and ITEM-INDEX:
SET LIST-INDEX TO 25. SET ITEM-INDEX TO 10.
4.
A table to be searched by the SEARCH ALL statement can be described
as follows:
01
DATA-LIST OCCURS 25 TIMES INDEXED BY LIST-INDEX,
ITEM-INDEX DESCENDING KEY IS DATA-LIST, ITEM-KEY.
03
ITEMA OCCURS 10 TIMES.
05
AVALUE PICTURE 9(7)
88
VALA VALUES ARE 1 THRU 999999.
03
ITEM -KEY PICTURE X.
When a table area or record area requires subscripting or indexing, hardware
indexing is employed only
if
the defined area is less than 16,383 characters.
For a larger area, however, software logic is used for subscripting and
indexing. Thus, subscripting and indexing may be slower
if
the defined area
is greater than 16, 383 characters.
3-21

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