Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Using MSGLEVEL=(1,1) in JCL.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Using MSGLEVEL=(1,1) in JCL.
Reply with quote

Hi,

I was referring to the document: http://web.utk.edu/~mnewman/ibmguide10.html

Per this, to get something like
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: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 03, 2009 2:31 pm    Post subject:
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: 757
Location: Germany

PostPosted: Tue Feb 03, 2009 3:15 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 03, 2009 4:51 pm    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Feb 03, 2009 5:55 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Differece between MSGLEVEL = (1,1) an... debanandaghosh JCL & VSAM 8 Tue Sep 09, 2008 10:41 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us