6

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

Raja Reddy
  • 732
  • 8
  • 19
  • 37

4 Answers4

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.

James Anderson
  • 26,221
  • 7
  • 45
  • 76
  • 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 Jun 05 '10 at 18:10
  • 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 Jun 07 '10 at 01:53
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.

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

Gilbert Le Blanc
  • 45,374
  • 5
  • 61
  • 107
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

talluri
  • 11
  • 1