Using SJ command and receiving "Selection Option Disabled" and "Unable to display JCL - JESJCLIN not collected for the Sysout"  messages
search cancel

Using SJ command and receiving "Selection Option Disabled" and "Unable to display JCL - JESJCLIN not collected for the Sysout"  messages

book

Article ID: 270304

calendar_today

Updated On:

Products

View

Issue/Introduction

-  PTF LU08429 - NEW FEATURE - SJ SELECTION OPTION SUPPORT FOR VIEW has been applied.

-  I have set SARINIT with FEATURE=18 for collection of JESJCLIN.

-  I have set RESUBJCL=YES to enable use of the SJ, JCL and/or JJCL command functions.

1. Using any of the commands produces "Selection Option Disabled" message.

- After the above error was resolved, we then received...

2. "Unable to display JCL - JESJCLIN not collected for the Sysout" message.

Environment

Release : 14.0

Cause

1. RESUBJCL not set to RESUBJCL=YES

2. JESJCLIN not being collected 

Resolution

 

- The "Selection Option Disabled" message indicates that the RESUBJCL SARINIT parameter is set to NO. This can be resolved by setting RESUBJCL=YES and recycling SARSTC.

- The "Unable to display JCL - JESJCLIN not collected for the Sysout" message is the result of the jobs JESJCLIN not being collected by View. This was due to a configuration issue, whereas the customer had SARINIT configuration with a specific DEST=SAR1 parameter, but did not have a DEST=SAR1 assignment on the jobs JES generated JESJCLIN.

To address this scenario, you can use the JESDS parameter on a //OUTPUT statement to assign sysout characteristics such as CLASS, FORMS, DEST and WRITER to the JES generated msgclass output. So, you can use this parameter to direct your JESJCLIN to your DEST=SAR3 View database for collection.

NOTE -  (Use of both JESDS=ALL and JESDS=LOG will accommodate collection of the jobs JESJCLIN). 

 

Additional Information

From View documentation:

Archival of JCL Listings
The key to archiving JCL listings (including the job log and allocation messages) is in separating the JCL listing SYSOUT from the report SYSOUT produced by a job based on one or more of the following archival selection criteria: class, destination, and forms name. This separation can be accomplished in several ways, including:
Assigning a different SYSOUT class in the MSGCLASS JOB statement parameter from those classes specified in the SYSOUT DD statements for the jobs
Assigning a special forms name or destination to the JCL listings for a job with the /*OUTPUT SYS JES2 control statement

- Assigning a special forms name or destination to the JCL listings for a job with the //*FORMAT PR JES3 control statement for ddnames: SYSMSG, JESJCL, and JESMSG

- Assigning a special forms name, destination, or SYSOUT class to the JCL listings for a job with the //OUTPUT JESDS=ALL JCL statement

You can archive some or all of the report SYSOUT for a job and its JCL listing. But, ensure that the SYSOUT attributes of the DD statements you want to archive match the JCL listing attributes.