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:- submit JCL for execution
- view the JCL JOB output
- write a selected part of the JCL JOB output to member #04 in P2.OUTPUT
- viewing the system log
- 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.
- owner z#####
Remember to substitute your ID
Instructs SDSF to limit view to what your ID owns - 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 - st
Instructs SDSF to provide status of entries based upon owner and prefix values - ;
A semicolon is a command separator
All commands separated by ; in the command stream are executed.
Enter the SDSF command string as seen below.

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.

However, viewing all the JCL JOBNAME output is unnecessary.
Press function key 3 F3 or enter end to return to previous SDSF Status display.

Enter ? to view DDNAME sections of the output.

Enter s to select JESMSGLG section of the JCL JOBNAME output.

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

Actions to complete challenge #04
Enter XDC to select JESMSGLG section of the JCL JOBNAME output to be printed.

Enter p2.output for Data set name, #04 for Member name to use, and shr for Disposition.

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