View previous topic :: View next topic |
Author |
Message |
Sagitha George Beginner
Joined: 23 Jun 2003 Posts: 8 Topics: 3
|
Posted: Tue Oct 07, 2003 7:13 am Post subject: Differences between SYSPRINT & SYSOUT |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Oct 07, 2003 8:22 am Post subject: |
|
|
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 |
|
|
Frank Yaeger Sort Forum Moderator
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Tue Oct 07, 2003 10:29 am Post subject: |
|
|
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 |
|
|
Sagitha George Beginner
Joined: 23 Jun 2003 Posts: 8 Topics: 3
|
Posted: Wed Oct 08, 2003 12:46 am Post subject: |
|
|
Thanks a lot for the detailed explanations.
Sagitha |
|
Back to top |
|
|
|
|