tags:

views:

177

answers:

2

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

A: 

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.

James Anderson
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..
Raja Reddy
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?
James Anderson
I could figure out your response now! I'm good!! And i'm using JESII...
Raja Reddy
A: 

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.)

Gilbert Le Blanc
Yeap! Thanks for your time..
Raja Reddy