What's the difference between SYSOUT and SYSPRINT of a job?
Asked Answered
U

4

6

While coding a JCL, we give SYSOUT and SYSPRINT DDs. Which type of output goes to SYSOUT and what else to SYSPRINT?

Unstep answered 4/6, 2010 at 1:56 Comment(0)
P
3

SYSOUT is always allocated and gets among other things all the output from the System level process (including any messages about the JCL itself, performance stats, error messages etc.)

SYSPRINT is just another DD which, by convention, is used by utility programs for thier output.

Paulettepauley answered 4/6, 2010 at 2:1 Comment(2)
James! Thanks for your response. Have a question here.. JCL related messages like allocation/deallocation messages, performance stats, error messages etc will be displayed JESMSG of JCL spool right... Please clarify of lemme know if i missed something..Unstep
The JES (Job Entry Subsystem) is a separate piece of software from the job initiator (which is what writes to SYSOUT) and its outputs are directed to JESMSG. Are you on JES II or JES III?Paulettepauley
C
3

sysout : To print the output of the program in spool,it is a system defined program.

sysprint : To print messages of the program execution, and ii contains compile source listing and line no, offset no.

Cassock answered 11/2, 2012 at 10:36 Comment(0)
R
1

Historically, IBM utility programs used SYSOUT for status messages, and used SYSPRINT for the utility program reports.

In COBOL programs, the output of DISPLAY statements goes to SYSOUT.

JCL related messages from a JES system are written to JESMSG. (Not sure of the spelling. I'm at home now, not at work.)

Reliquiae answered 8/6, 2010 at 5:10 Comment(0)
F
1

SYSOUT system defined dd name used for file status codes and system abend codes information and output of the display statement can be viewd

and sysout parameter used to direct the output device and genarete during execution of the job to an output device

SYSPRINT contains the compiled source listing and for each line in the soucrce listing a line number and offset no can be genarated

Fanni answered 18/8, 2011 at 5:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.