Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Why we code SYSOUT DD SYSOUT=* in SORT JCL
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

Moderator Team Head


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

PostPosted: Tue Mar 15, 2005 6:45 pm    Post subject: Re: Why u code "sysout dd sysout = *" in Sort &
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 Moderator


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

PostPosted: Tue Mar 15, 2005 10:14 pm    Post subject:
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    Post subject: I got my doubt cleared
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us