MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Differences between SYSPRINT & SYSOUT

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Sagitha George
Beginner


Joined: 23 Jun 2003
Posts: 8
Topics: 3

PostPosted: Tue Oct 07, 2003 7:13 am    Post subject: Differences between SYSPRINT & SYSOUT Reply with quote

Hi All
Please let me have the complete details about what are the differences between SYSPRINT & SYSOUT. Know that SYSPRINT is a DD name while SYSOUT is a parameter. But I have seen procs that have SYSOUT as the DD name. What are the differences between them? And how are they put to use?

Please help asap.

Sagitha
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Tue Oct 07, 2003 8:22 am    Post subject: Reply with quote

Sagitha,

SYSPRINT & SYSOUT are DD stmts like any others and could be used for any dataset in your pgm provided you followed the rules for dataset use.They can be used as output data set.

Both Sysout and sysprint are basically used to display informational messages like execution time data, control cards/options, etc. All your DISPLAY stmts are shown in Sysout. But sysprint is basically used for utilities like IDCAMS, IEBGENER,EASYTRIEVE, DB2 unload utilities .. to display the informational messages.Some of the utilities like SORT use sysout dd statement to display informational messages.

Hope this helps...

cheers

kolusu

PS: I edited the topic title to remove "urgent" . Please read the board rules (top of the page)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Tue Oct 07, 2003 10:29 am    Post subject: Reply with quote

Sagitha said
Quote:
. Know that SYSPRINT is a DD name while SYSOUT is a parameter. But I have seen procs that have SYSOUT as the DD name.


Yes, SYSOUT can be used both as a ddname and as a parameter. For example:

Code:

//SYSOUT DD SYSOUT=A


The "SYSOUT" after // is the ddname which is specified on a DCB somewhere in the program for that ddname.

"SYSOUT=A" is a parameter that can be used on any DD statement to specify output class A. There are, of course, other forms of this parameter such as SYSOUT=*, SYSOUT=H, SYSOUT=(A,INTRDR), etc. You can look up this parameter in the JCL manual to read all about it.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sagitha George
Beginner


Joined: 23 Jun 2003
Posts: 8
Topics: 3

PostPosted: Wed Oct 08, 2003 12:46 am    Post subject: Reply with quote

Thanks a lot for the detailed explanations.

Sagitha
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group