Hi,
I've observed at my shop that only while using Sort/ICEMAN/ utility we use SYSOUT DD SYSOUT = * . Is there some reason for that?
Why we code SYSOUT DD SYSOUT=* in SORT?
-
- Registered Member
- Posts: 32
- Joined: Thu Oct 03, 2013 1:32 pm
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Why we code SYSOUT DD SYSOUT=* in SORT?
From the September 2013 version of the DFSORT Getting Started manual:
The JCL statements you need for most jobs are as follows.
//jobname JOB
Signals the beginning of a job. At your site, you might be required to
specify information such as your name and account number on the JOB
statement.
//stepname EXEC
Signals the beginning of a job step and tells the operating system what
program to run. To run DFSORT, write the EXEC statement like this:
//stepname EXEC PGM=SORT
//STEPLIB DD
The DFSORT program would typically be in a library known to the
system, so the //STEPLIB DD statement would
not
be needed. However, if
DFSORT is not in a library known to the system, the //STEPLIB DD
statement defines the library containing the DFSORT program
//SYSOUT DD
Defines the data set in which DFSORT messages and control statements are
listed.
//SORTIN DD
Defines the input data set or concatenated input data sets.
//SORTWKdd DD
Defines a work data set for a sort. Typically not needed, because DFSORT
can allocate work data sets for a sort dynamically.
//SORTOUT DD
Defines the output data set.
//SYSIN DD
Precedes or contains the DFSORT program control statements.
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Why we code SYSOUT DD SYSOUT=* in SORT?
Robert has given you a very precise explanation, however I believe your question is quite generic. Did you mean why "*" is used in SYSOUT=*?
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Registered Member
- Posts: 32
- Joined: Thu Oct 03, 2013 1:32 pm
Re: Why we code SYSOUT DD SYSOUT=* in SORT?
Yes. Somtimes, I've seen SYSOUT=Y. What's the meaning of this?Anuj Dhawan wrote:Robert has given you a very precise explanation, however I believe your question is quite generic. Did you mean why "*" is used in SYSOUT=*?
Regards
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Why we code SYSOUT DD SYSOUT=* in SORT?
There can be different SYSOUT classes defined to a system -- for example, one may be used exclusively to generate fiche, one for SMTP emails, and so forth. The specific job classes are set by the site as part of their set up of JES and z/OS. SYSOUT=* means to use the job default SYSOUT class (MSGCLASS on the JOB statement or whatever the site default is); SYSOUT=Y means to use class Y (which, again, will depend upon the site for its meaning).
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute