Murach's Mainframe COBOL

Chapter 13 How to work with sequential files
COBOL for fixed-length records 354
How code select and FD statements 354
How to code Procedure Division statements 356
How to work with file status codes 358
A sequential update program 360
The program specifications 360
The test data and matching record logic 362
The structure chart 364
The COBOL code 366
A sequential maintenance program 372
The program specifications 372
The test data and matching record logic 374
The structure chart 376
The COBOL code 378
Special considerations for sequential update and maintenance programs 386
Error processing for I/O operations 386
Testing and debugging 388
Design alternatives 390
COBOL for variable-length records 392
How to code FD statements 392
How to write to a file that contains record types with different lengths 394
How to process a file that contains record types with different lengths 396
How to write records with a varying number of segments 398
How to process records with a varying number of segments 400
Perspective 402
t




Murach's Mainframe COBOL

Learn more about this book

View the table of contents

Add this book to your cart