SDSF, System Display and Search Facility
Part Two - Challenge #04

Background:

You will learn how to view JCL JOB output using SDSF

Familiarity with SDSF is needed to complete challenge #04.

SDSF is used frequently throughout the contest to complete challenges.

In challenge #04 SDSF is used to:
  1. submit JCL for execution
  2. view the JCL JOB output
  3. write a selected part of the JCL JOB output to member #04 in P2.OUTPUT
You will learn more about SDSF capabilities in later challenges, such as:
  1. viewing the system log
  2. processing system commands

Useful Information About SDSF and help you complete the challenge

A short video is available to explain SDSF.

Click on the following URL, then select Lecture 9 video which is less than 8 minutes.
z/OS Introduction

Note: If "Start Chat"appears, decline.
Chat is for clients considering purchase of more IBM Z technology features.


Challenge:

View JCL JOB output in SDSF

Lecture 9 video explains the basics of SDSF necessary to complete the challenge.

From ISPF Primary Option Menu, enter sd to access SDSF panels

Commands are available in SDSF to limit view to only input, execution, and output owned by your ID.

  1. owner z#####
      Remember to substitute your ID
      Instructs SDSF to limit view to what your ID owns
  2. prefix *
      Instructs SDSF to view everything owned by your ID
      Alternatively, a prefix z* would view only items beginning with z owned by your ID
  3. st
      Instructs SDSF to provide status of entries based upon owner and prefix values
  4. ;
      A semicolon is a command separator
      All commands separated by ; in the command stream are executed.

Enter the SDSF command string as seen below.

The result is a status of your TSO session which is in EXECUTION Queue

Submit a JCL JOB by entering tso submit jcl(ch04jcl) in the COMMAND INPUT field as follows:

Enter b when prompted to ENTER JOBNAME CHARACTER(S) as follows:

A message SUBMITTED, and another message indicating the JCL JOB completed successfully with MAXCC=0000 are displayed - enter to see them, then finally you are returned to SDSF status display.

Tab to the left of the completed JCL JOBNAME ending with B .

Enter s to select all the JCL JOBNAME output.

Note: It might be necessary to refresh the display with an extra enter for JCL JOBNAME to appear.

All the JCL JOBNAME is selected and you could page forward to view all the output.

However, viewing all the JCL JOBNAME output is unnecessary.

Press function key 3 F3 or enter end to return to previous SDSF Status display.
Tab to the left of the completed JCL JOBNAME ending with B

Enter ? to view DDNAME sections of the output.
Tab to the left of DDNAME JESMSGLG.

Enter s to select JESMSGLG section of the JCL JOBNAME output.
The challenge objective to write JESMSGLG output below to your P2.OUTPUT data set name.

Press function key 3 F3 or enter end to return to previous SDSF Status display.

Actions to complete challenge #04
Tab to the left of DDNAME JESMSGLG.

Enter XDC to select JESMSGLG section of the JCL JOBNAME output to be printed.
XDC will display Open Print Data Set panel to enter target data set information.

Enter p2.output for Data set name, #04 for Member name to use, and shr for Disposition.
If a trunction message appears, truncation is ok. Enter to proceed.

The above created member #04 in data set name P2.OUTPUT
  where #04 contains only the JESMSGLG section of the JCL JOBNAME output.

Observe PRINT CLOSED in the upper right area of your screen.

Enter return to return to ISPF Primary Option Menu.

The challenge created member #04 in data set name P2.OUTPUT where #04 contains output of a JCL JOB.

SDSF was used to view the JCL JOB output and write a selected part of the output to member #04 in P2.OUTPUT


Congratulations! You are done with challenge #04 and you ready for the next challenge.

Next: Challenge #05