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

Using MSGLEVEL=(1,1) in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
DB2 Guy

New User


Joined: 28 Oct 2008
Posts: 98
Location: Cubicle

PostPosted: Tue Feb 03, 2009 2:20 pm
Reply with quote

Hi,

Quote:
TCB time in seconds -- CPU time billed to user
SRB time in seconds -- CPU time not billed to user
CPU time -- TCB time multiplied by rate
in the SYSOUT, I code MSGLEVEL=(1,1) in job card of some SORT JCL as shown below:
Code:
//XXXXXX JOB (@),'SORT',
//         CLASS=0,MSGCLASS=?,     
//         TIME=45,                 
//         MSGLEVEL=(1,1),         
//         NOTIFY=&SYSUID           

I was expecting that SYSOUT would display something as been "quoted" above, but I did not get any such thing - what wrong I did, please assist.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Feb 03, 2009 2:31 pm
Reply with quote

It may be site specific. The first people to ask would be your sysprogs.
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Tue Feb 03, 2009 3:15 pm
Reply with quote

Hi !

MSGLEVEL parameter is used to specify JCL and allocation messages which will be recorded on the output device specified in MSGCLASS.

MSGLEVEL=(1,1)

In the first position you can take value 0 or 1 or 2.

0 Only JOB statement
1 All input & procedure statements
2 Only input JCL statements

In the second position you can take value 0 or 1.

0 Allocation/termination messages being output if the job terminates abnormally.

1 Allocation/termination messages being output if the job terminates normally or abnormally.

Also look MSGCLASS

The MSGCLASS parameter determines the output device to which system messages and JCL messages are written
Back to top
View user's profile Send private message
Debabrata Pruseth

New User


Joined: 11 Dec 2008
Posts: 59
Location: Pune , India

PostPosted: Tue Feb 03, 2009 4:29 pm
Reply with quote

Hi

One can indirectly find the Execution time( not CPU time ) and CPU cost for each job in the spool by the following method.

In the spool go to JESMSGLG. Search for word 'STARTED' and 'ENDED'

STARTED - TIME=22.57.43
ENDED - TIME=22.57.52


The difference will give you the job execution time.

For CPU cost , in JESYSMSG just search for word 'COST'

ESTIMATED COST:..................$0.14[/img][/code]
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Feb 03, 2009 4:51 pm
Reply with quote

expat wrote:
It may be site specific. The first people to ask would be your sysprogs.

Which probably explains why I DO NOT see anything related to cost in my outputs.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Feb 03, 2009 5:55 pm
Reply with quote

Quote:
I was expecting that SYSOUT would display something as been "quoted" above, but I did not get any such thing - what wrong I did, please assist.
SYSOUT won't contain MSGLEVEL output -- that shows up in the JES message log (JESYSMSG or something similar). Review all the output generated by a job to see which file it shows up in.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Differece between MSGLEVEL = (1,1) an... JCL & VSAM 8
Search our Forums:

Back to Top