开发者

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

开发者 https://www.devze.com 2023-01-02 10:29 出处:网络
While coding a JCL, we give SYSOUT and SYSPRINT DDs. Which type of output goes to SYSOUT and what else to开发者_运维问答 SYSPRINT?SYSOUT is always allocated and gets among other things all the output

While coding a JCL, we give SYSOUT and SYSPRINT DDs. Which type of output goes to SYSOUT and what else to开发者_运维问答 SYSPRINT?


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.


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.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号