SYSPRINT
The usual name for the DD where a program writes its messages and reports.
Also written SYSIN, SYSUT1
Why it matters. When a utility runs, its answers are on SYSPRINT. It is the first place to look when a step does something odd.
See it
SYSPRINT is where IBM utilities write their messages.
Syntax
//SYSPRINT DD SYSOUT=*
- SYSPRINT
- The usual name for messages from utilities and compilers.
- SYSOUT=*
- Send it to the spool.
- SYSUDUMP
- A different DD: a dump when a step abends.
- SYSIN
- The usual name for the input statements.
- A program's name
- SYSPRINT is a convention. A program chooses its own DD names.
Try it SYSPRINT
- 1
You're editing job CATRPT, a step with PGM=IDCAMS. Write the DD for the program's messages: send them to the spool.
JCL //SYSPRINT DD SYSOUT=* - 2
Submit the job CATRPT from your DEV JCL library.
SUBMIT 'ZB0001.DEV.JCL(CATRPT)' - 3
Read the messages, STEP1.SYSPRINT.
OUTPUT CATRPT STEP1.SYSPRINT
Remember
- SYSPRINT is a name by habit. Utilities and compilers all use it.
- Point it at the spool with SYSOUT=*.
- Read it first when a step fails.
The usual mistake
Leaving out the SYSPRINT DD
The program has nowhere to write its messages. For IDCAMS the step typically ends with IEC130I SYSPRINT DD STATEMENT MISSING, or you get no output to read.
//SYSPRINT DD SYSOUT=*
On real z/OS
Mainframe101 sim: in MF/OS, utilities use SYSPRINT or SYSOUT by the same convention. The IDCAMS listing in a job is a layout of MF/OS's own. IEC130I names a DD the program needed that your step left out.
Where can I practise SYSPRINT?
Right here, at ZedBank. You take a junior job at a simulated bank and use SYSPRINT in real work, with Zed beside you. There's nothing to install.
Start at ZedBankRelated
- SYSOUTOutput sent to the spool rather than to a dataset, where you can read it after the job finishes.
- DD statementThe JCL statement that connects a name inside a program to a real dataset outside it.
- Utility programA supplied program that performs a standard job such as copying, sorting, comparing or managing datasets, driven by control statements.
- SpoolThe system-managed holding area where job output waits to be read, printed or purged.
- IDCAMSThe utility used to create, list, copy and delete datasets, and the standard tool for anything involving VSAM.