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 

MSGCLASS

 
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
abracadabra
Beginner


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Mon Oct 27, 2003 11:34 pm    Post subject: MSGCLASS Reply with quote

Hi,

I have one doubt. MSGCLASS is suppose to direct the SYSOUT to a particular destination, be it the spool or the printer etc. Say I have MSGCLASS=D where D is directed to the printer. Now if I have SYSOUT=A where A is some other destination, which one holds precedence?

Cheers
_________________
Cheers!
Back to top
View user's profile Send private message
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Tue Oct 28, 2003 12:43 am    Post subject: Reply with quote

Hi A,

Your SYSOUT=A data will go to the A Queue, the job msgs to the D Queue.

Regards, Jack.
Back to top
View user's profile Send private message
raggop
Beginner


Joined: 05 Feb 2003
Posts: 19
Topics: 3

PostPosted: Tue Oct 28, 2003 2:53 am    Post subject: Reply with quote

The sysout data set is processed according to the following processing
options, in override order:

- The options specified on this sysout DD statement.

- The options specified on a referenced OUTPUT JCL statement.

- The options specified on a referenced JES2 /*OUTPUT statement or on
a JES3 //*FORMAT statement.

- The installation default options for the requested output class

Note: If a sysout data set has the same class as the JOB statement
MSGCLASS parameter, the job log appears on the same output
listing as this sysout data set.


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


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

PostPosted: Tue Oct 28, 2003 6:15 am    Post subject: Reply with quote

abracadabra,

Your assumption is not true.MSGCLASS parameter to assign the job log to an output class. The job log is a record of job-related information for the programmer. Depending on the JOB statement MSGLEVEL parameter, the job log can consist of:

1 Only the JOB statement.
2 All job control statements.
3 In-stream and cataloged procedure statements.
4 Job control statement messages.
5 JES and operator messages about the job.

Sysout=A is a parameter that can be used on any DD statement to specify output class A. Sysout is basically used to display informational messages like execution time data, control cards/options, etc. All your DISPLAY stmts are shown in Sysout. Some of the utilities like SORT use sysout dd statement to display informational messages.

When you code //SOMEDD DD SYSOUT=* , it will default to the JOB MSGCLASS output class.

When the JOB statement and sysout DD statement both specify the same output class, the job log and data set OUTDD1 are written on the same output listing.

check this link for a detailed explanation of the MSGCLASS parameter.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA1B606/20.10?DT=19980701140102

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
abracadabra
Beginner


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Tue Oct 28, 2003 6:30 am    Post subject: Reply with quote

Thanks guys for the help. Just one more info. What are the usual message class?
_________________
Cheers!
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Oct 28, 2003 6:49 am    Post subject: Reply with quote

abracadabra,

The output class definitions vary from shop to shop.The default is based on the source of the job: The system places the job log in the same output class as the installation-specified default class for the particular card reader, work station, or time-sharing user that submitted the job. The installation default is specified at JES initialization.

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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