Output JES data set to a different class
search cancel

Output JES data set to a different class

book

Article ID: 367876

calendar_today

Updated On:

Products

OM View

Issue/Introduction

You need to output one or more JES datasets to a different class for View to collect.

Environment

View 14.0

Cause

By default the JESDS parameter ALL is used and the SYSOUT will be collected to your MSGCLASS in your job.

Resolution

To output one or multiple JES datasets to a different class in your job you will need to use the an output statement with the JESDS parameter with the class you wish to collect.

 

The options for the JESDS parameter are the following:

  • ALL

    Indicates the this OUTPUT JCL statement applies to all of the job's system-managed data sets.

  • LOG

    Indicates that this OUTPUT JCL statement applies only to the JESMSGLG data set, which contains the JES and operator messages for this job.

  • JCL

    Indicates that this OUTPUT JCL statement applies only to the JESJCL data set, which contains the JCL statements for this job.

  • MSG

    Indicates that this OUTPUT JCL statement applies only to the JESYSMSG data set, which contains any JCL error messages and any system messages for this job. 

 

Example OUTPUT statements are below:



Example 1 (outputs one JES dataset to a different class):

//JOBCARD....
//OUT1 OUTPUT JESDS=(LOG),CLASS=A

 

Example 2 (outputs multiple JES dataset to a different class):

//JOBCARD...
//OUT1 OUTPUT JESDS=(LOG),CLASS=A
//OUT2 OUTPUT JESDS=(MSG),CLASS=B


Additional Information

Job Entry Subsystem (JES) including JESDS parameter is owned by IBM and not Broadcom.

For more information about JESDS, please see in IBM's documentation the section JESDS parameter.