GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 110 of 128    Print  
Difference between SYSOUT and SYSPRINT

  
Total Answers and Comments: 4 Last Update: May 06, 2008     Asked by: abhishek_98840 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: athiq
 
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.

Above answer was rated as good by the following members:
travel_id
January 11, 2008 06:16:52   #1  
athiq Member Since: January 2008   Contribution: 1    

RE: Difference between SYSOUT and SYSPRINT
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.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
January 25, 2008 11:02:19   #2  
karansb Member Since: January 2008   Contribution: 3    

RE: Difference between SYSOUT and SYSPRINT
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.

 
Is this answer useful? Yes | No
May 05, 2008 12:05:08   #3  
prakash427 Member Since: May 2008   Contribution: 1    

RE: Difference between SYSOUT and SYSPRINT
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

 
Is this answer useful? Yes | No
May 06, 2008 03:44:37   #4  
sajana Member Since: May 2008   Contribution: 1    

RE: Difference between SYSOUT and SYSPRINT
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 .
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape