Difference between SYSOUT and SYSPRINT

Questions by abhishek_98840

Showing Answers 1 - 24 of 24 Answers

athiq

  • Jan 11th, 2008
 

Hi,

Sysin and Sysout are system defind file names in COBOL. If your program is not containing any files, sysout in cobol contains output to your program and sysprint is to get messages regarding your program execution. This is same in JCL as well as COBOL.

Sysout carries program output and sysprint is for messages generated while program execution.

karansb

  • Jan 25th, 2008
 

SYSOUT = System Output                                  
A data definition (DD) statement used to identify a data
set as a system output data set.
SYSPRINT :
It is used to print the messages in the output screen
You can direct the output to a SYSOUT data set, a printer, a direct-access
storage device, or a magnetic-tape device.     

  Was this answer useful?  Yes

prakash427

  • May 5th, 2008
 

Hi,
     SYSOUT is used to route the output messages to certain specific destination, whereas SYSPRINT is used to print those messages at that specific destination

  Was this answer useful?  Yes

sajana

  • May 6th, 2008
 

The SYSOUT parameter is used to send the output which is generated during job execution.With the SYSPRINT DD statement you tell into which output queue you want the utility to place its messages and report.SYSOUT and SYSPRINT are two different output file references.SYSPRINT usually pointed to a printer but SYSOUT may be pointed to a file .

  Was this answer useful?  Yes

Shivanadri Naveen Kumar

  • Sep 17th, 2011
 

SYSOUT and SYSPRINT are pre-defined copybooks which are developed in COBOL,

SYSOUT is used to mention the location where we need to print the message
If mention SYSOUT=* then message message passed to the location which is mentioned in the class parameter

SYSPRINT is used to print the message by following the message class parameter.


  Was this answer useful?  Yes

siva

  • Dec 2nd, 2011
 

SYSPRINT: Default output dataset for Printable output.

SYSOUT: Default output dataset for System messages.



thanks,
Sivakumar

  Was this answer useful?  Yes

prabhu

  • Jun 16th, 2012
 

in that area you have specified destination,it may printer or system spool?

Thanks in Advanced..

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions