Sunday 13 January 2019

SDSF

SDSF means System Display and Search Facility

It is a utility that allows user to monitor, control or view the output of jobs in the system.

It is a component of IBM's mainframe operating system, z/OS.

Once the job is submitted, it is common to use SDSF to check the status of the job like completed/running/failed...

To start using SDSF, 

type SDSF;ST or S;ST on the start window/command line

ST :Displays current status of all the jobs

Following are the most commonly used SDSF options:

DA : Displays Active/currently running jobs

I : Input Queue - Shows jobs waiting for execution 

H : Jobs on HOLD - either waiting to be released into input or output.

PR : Displays printers

INIT : Displays initiators (areas where jobs execute or run)

On the ST panel, SDSF supports following options for each batch Job. The user should type the desired option against the job and press enter to see the result

C : Cancel the job

S : Select the job (view only)

SJ : Show Job (View the original JCL of the job) - In this mode, you can edit the JCL as you required and SUBmit it in case of failures.

P : Purge job (Remove the job)

SE : Select Edit job (view in edit mode) 

XDC : Writes the spool content of the job into a data set. The data set name should be provided in the dialog window that gets popped up after pressing enter.

Following operations can be performed on SDSF panel. The desired command should be provided in "COMMAND INPUT" and press enter 

OWNER * - Displays all the jobs submitted by the owner if any.

OWNER ABC* - Filter jobs with owner name starting with ABC

PRE XYZ* - Filter jobs starting with XYZ.
PRE represents PREFIX

PRE AB%%PQ - Filter jobs starting with AB and ends with PQ

WHO - Provides basic information about SDSF user

SET CONFIRMATION ON/OFF - This command will enable/disable the confirmation for any action like P(Purge), C(Cancel)….

In SDSF, we can purge multiple jobs at a time using Block //. The jobs to purge should be in sequence to perform the same.
How - Say I have jobs JOB1, JOB2, JOB3, JOB4, JOB5 in SDSF. To purge JOB3, JOB4 and JOB5 at a time, Type //p against JOB3 and // against JOB5 and press enter.


No comments:

Post a Comment