Reading only a subset of the records in a z/OS file

By default, a job reads all of the records in a z/OS® file; but you can specify that the job read only a subset of the records.

About this task

Reading a subset of the records is useful while you develop a job and when you test it. By reading a small set of files, you can determine if the job is working correctly before you run the job on the entire file.

Procedure

  1. From the parallel canvas, double-click the z/OS File stage icon and then select the link to edit.
  2. In the Read first n rows property, enter the number of records to read. The job reads only the first n records in the job.