Input/Output Processing with Multiple Devices

This example is an extension to the ones that were provided previously. These examples have two programs that wrote, then read data to and from a tape. In this example, we will use two tape drives. We will read the data from the tape already written in the previous example, and write a new file on tape which includes the original records and some new records.

The sequence of events is this:

  1. Create Tape File objects
  2. Compile the program (RPG in this example)
  3. Use OVRTAPF to select devices
  4. Issue SETMEDBRM to influence the choice of tapes used
  5. Run the program


[ Top of Page | Previous Page | Next Page | Contents | Index ]