OUTDATASET and SYSOUT: Specifying the output location

Explanation: OUTDATASET(dsname) and SYSOUT(class) are mutually exclusive, optional parameters specifying the output location for the statistics report.
OUTDATASET(dsname)
specifies the name of the data set where DFSMShsm is to write the output data. For dsname, substitute the fully qualified name of the data set to receive the statistics report.
If the data set does not exist, DFSMShsm dynamically allocates and catalogs an output data set with the following characteristics:
  • Data set name specified (dsname)
  • Record format of fixed-blocked with ANSI control characters (FBA)
  • Logical record length of 121
  • Data set is system reblockable
  • Primary allocation of 20 tracks (see second note)
  • Secondary allocation of 50 tracks (see second note)
  • Unit of SYSALLDA (see second note)
If the data set already exists, DFSMShsm will use the data set. The data set must have the following characteristics:
  • The data set must be cataloged and on DASD.
  • The data set record format must be FBA, and the logical record length must be 121.
  • The data set is system reblockable.
  • The user can choose the primary space allocation.
  • If DFSMShsm needs additional extents after the primary space allocation, DFSMShsm uses a secondary space allocation of 50 tracks. (see second note)
  • If the data set does not contain data, DFSMShsm starts writing output data at the beginning of the data set.
  • If the data set contains data, DFSMShsm writes the output data after the existing data.
SYSOUT(class)
specifies that the statistics report is to be sent to the specified system output class. For class, substitute the alphanumeric character for the system output class.

Defaults: The default is SYSOUT, and class defaults to the current DFSMShsm value for the SYSOUT parameter. You specify the current DFSMShsm value with the SETSYS command. If you do not specify SYSOUT with the SETSYS command, the default is class A.

Note:
  1. DFSMShsm does not handle partitioned data set members individually. If you specify a partitioned data set with a member name as the output data set, the statistics report could be written over existing data. If you do not allocate an output data set with the required characteristics, I/O errors could occur on the output data set.
  2. If you select the OUTDATASET option, you can use the PATCH command to change the unit name, primary allocation, and secondary allocation. If you select the SYSOUT option, you can use the PATCH command to change whether, and how, DFSMShsm limits the lines of SYSOUT output. Refer to the z/OS DFSMShsm Implementation and Customization Guide for the PATCH command.