Murach's Mainframe COBOL

Chapter 10 How to work with tables
How to use subscripts to work with one-level tables 276
How to define a one-level table that uses subscripts 276
How to initialize a table 278
How to define a table with constant values 278
How to refer to entries in a one-level table using subscripts 280
How to load a one-level table using subscripts 282
How to search a one-level table using subscripts 284
How to use subscripts to work with multi-level tables 286
How to define a multi-level table 286
How to refer to entries in a multi-level table using subscripts 288
How to load a two-level table using subscripts 288
How to search a two-level table using subscripts 290
How to use indexes to work with tables 290
How to define a table with an index 292
How to refer to table entries using an index 292
How to load a table using an index 294
How to code the Set statement 296
How to perform a sequential search 298
How to perform a binary search 300
How to search a two-level table using indexes 302
How to work with variable-length tables 304
How to define a variable-length table 304
How to load a variable-length table 306
How to search a variable-length table 306
Another technique for working with variable-length tables 308
Other features for working with tables 310
How to use the Perform Varying statement to vary more than one index or subscript 310
How to use intrinsic functions with tables 312
Perspective 314
t




Murach's Mainframe COBOL

Learn more about this book

View the table of contents

Add this book to your cart