IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

[Solved]Why we code SYSOUT DD SYSOUT=* in SORT JCL


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
UNIVERSE

New User


Joined: 15 Mar 2005
Posts: 11
Location: Mumbai

PostPosted: Tue Mar 15, 2005 4:38 pm
Reply with quote

I have a doubt in my mind since long time. Can anyone help out?

Only while using Sort/Merge/ICEMAN utility we use
SYSOUT DD SYSOUT = *
What is the specific reason?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4651
Location: Raleigh, NC, USA

PostPosted: Tue Mar 15, 2005 6:45 pm
Reply with quote

From MVS/QuickRef 6.0:
Quote:

SYSOUT DD:
This DD statement is required because DFSORT messages are written
to this file. You can override the SYSOUT DD statement to another
DD name using the MSGDDN= JCL parm.

Does that answer the question?
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Mar 15, 2005 10:14 pm
Reply with quote

Universe,

I'm not sure what you're asking.

If you're asking why you need the //SYSOUT DD statement, it's because DFSORT uses SYSOUT by default as the ddname of its message data set (this can be changed with the MSGDDN=ddname parameter).

If you're asking why you would use SYSOUT=*, it's because the * means to use the same output class as the MSGCLASS parameter. You could use a specific message class instead such as SYSOUT=A.

If you're asking why only DFSORT requires a SYSOUT DD statement, it's actually NOT the only product that does. While many products use SYSPRINT, others use SYSOUT, and others use another ddname. It's up to each product to define the ddnames the product uses.

If your question is something else, please state more clearly what you want to know.
Back to top
View user's profile Send private message
UNIVERSE

New User


Joined: 15 Mar 2005
Posts: 11
Location: Mumbai

PostPosted: Wed Mar 16, 2005 10:01 am
Reply with quote

Frank,

Thank u very much for helping in time

Regards
universe
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts JCL SORT to compress the student's de... DFSORT/ICETOOL 7
No new posts Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts COBOL Ascending and descending sort n... COBOL Programming 5
No new posts SORT deletes the SORTOUT file DFSORT/ICETOOL 8
Search our Forums:

Back to Top