Murach's Structured COBOL
Chapter 10 How to work with tables
How to use subscripts to work with one-level tables 310
How to define a one-level table that uses subscripts 310
How to initialize a table 312
How to define a table with constant values 312
How to refer to entries in a one-level table using subscripts 314
How to load a one-level table using subscripts 316
How to search a one-level table using subscripts 318
How to use subscripts to work with multi-level tables 320
How to define a multi-level table 320
How to refer to entries in a multi-level table using subscripts 322
How to load a two-level table using subscripts 322
How to search a two-level table using subscripts 324
How to use indexes to work with tables 326
How to define a table with an index 326
How to refer to table entries using an index 326
How to load a table using an index 328
How to code the Set statement 330
How to perform a sequential search 332
How to perform a binary search 334
How to search a two-level table using indexes 336
How to work with variable-length tables 338
How to define a variable-length table 338
How to load a variable-length table 340
How to search a variable-length table 340
Another technique for working with variable-length tables 342
Other features for working with tables 344
How to use the Perform Varying statement to vary more than one index or subscript 344
How to use intrinsic functions with tables 346
How to sort a table 348
Perspective 350
t
[Prev]
[Next]
[Book summary]