Reading data from a z/OS file

Configure the z/OS® File stage to connect to a z/OS file on the Classic federation data server and read data from it.

Before you begin

Complete these prerequisite tasks:
  • Verify that the z/OS File stage is configured properly.
  • Verify that the user name that connects to the Classic federation data server has DBADM authority.

About this task

The following figure shows an example of using the z/OS File stage to read data. The z/OS File stage identifies the z/OS file; the Complex Flat File stage converts the records into individual fields, which are passed to the Sequential File stage for further processing.
Figure 1. Reading data from a z/OS file
The z/OS File stage has an input link to a Complex Flat File stage which has an input link to a Sequential File stage.

Procedure

To read data from a z/OS file, complete these tasks:

  1. Creating a job that includes the z/OS File stage and required links.
  2. Configuring the Complex Flat File stage for use in a z/OS File stage job.
  3. Defining a connection to the Classic federation server.
  4. Compiling and running a job.