SDSF
The screen for watching jobs: what is waiting, what is running and what has finished.
Also written System Display and Search Facility
Why it matters. After you submit a job, SDSF is where you find out what happened to it.
Syntax
SDSF ST (on the SDSF command line) O / H / DA / LOG
- ST
- Status of jobs: waiting, running and finished.
- DA
- Active address spaces.
- O
- Output queue.
- H
- Held output queue.
- I
- Input queue.
- LOG
- The system log.
- S (line command)
- Open the output of the job next to it.
- P / C (line commands)
- Purge the output, or cancel a running job.
Try it SDSF
- 1
Open the job-watching tool.
SDSF - 2
Show the status of your jobs.
COMMAND INPUT ===> ST
Remember
- SDSF shows jobs: waiting, running and finished.
- ST is status, DA is active, O is output.
- RC is the return code. 0000 means it ran clean.
The usual mistake
Typing a job name on the SDSF command line
SDSF wants the name of a list, like ST or O. To find a job, use PREFIX or the NP column on its row.
ST, then find the job in the list
On real z/OS
MF/OS prints each panel as a text table. Real SDSF is a full-screen application: you type SDSF, then a panel name such as ST on the command line, and use line commands next to each job. The columns (a real ST has no return code column by default) and the way output is opened are simplified.
Where can I practise SDSF?
Right here, at ZedBank. You take a junior job at a simulated bank and use SDSF in real work, with Zed beside you. There's nothing to install.
Start at ZedBankRelated
- SpoolThe system-managed holding area where job output waits to be read, printed or purged.
- JobA unit of batch work submitted to the system, made up of one or more steps that run in order.
- SYSOUTOutput sent to the spool rather than to a dataset, where you can read it after the job finishes.
- Return codeA number a program leaves behind saying how it went. Zero for clean, higher numbers for warnings and failures.
- SubmitHanding JCL to the system to be run, which queues it as a job and gives it a job number.