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
 

 

Tracking Mainframes usage and billing for each user

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
fat_frankestein

New User


Joined: 12 Mar 2007
Posts: 2
Location: Hyderabad

PostPosted: Wed Mar 14, 2007 2:04 pm    Post subject: Tracking Mainframes usage and billing for each user
Reply with quote

I need some information regarding the Mainframes usage and billing.

how do we track the total processor time used by all the jobs, submitted by a user, say during a session, so as to say that a particular account has used so many cycles/seconds of the CPU time.

Also, how do we log that data, n how do we extract the same, while billing and reporting
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Mar 14, 2007 7:31 pm    Post subject:
Reply with quote

Hello,

Usage may be gotten from the SMF records.

If you talk with your system support or operations people, there are probably already processes in place that show usage statistics.

Billing is whatever your organization decides. That answer will come from your organization. Everywhere has their own way to calculate/distribute data center operating costs.
Back to top
View user's profile Send private message
fat_frankestein

New User


Joined: 12 Mar 2007
Posts: 2
Location: Hyderabad

PostPosted: Thu Mar 15, 2007 1:27 pm    Post subject: Re: info regarding Mainframes usage and billing.
Reply with quote

hi.
i knw that the usage is gathered from the SMF.
the usage, i assume, will be logged/recorded in some file. i need to knw how we do that, i mean, what are the fileds that mite be populated( in general, rather than the m/c or the client specific), who, or what system does that job, and how do we extract that data
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Mar 15, 2007 7:23 pm    Post subject:
Reply with quote

Hello,

As i mentioned earlier, if you talk with your system support or operations people, there are probably already processes in place that show usage statistics.

They can also provide information about how SMF is used at your location.
If you intend to read the actual SMF file(s) you will need to learn about the structure of the SMF records. SMF recording is "automatic". Your site determines what will be captured. Again, the system support people have that information.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sat Mar 17, 2007 11:12 pm    Post subject:
Reply with quote

Hi,

For a particular JOB if you want the execution time & the cost..then you can go to JESMSGLG, of that JOB give search on 'unnormalized CPU time'..you will get the time taken by that JOB, near to that time, cost of the JOB will be given.

Perhaps it helps.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Mar 18, 2007 1:43 am    Post subject:
Reply with quote

Hello,

FYI
Quote:
you will get the time taken by that JOB, near to that time, cost of the JOB will be given

Only at some sites. Many sites do not present the $cost of the job in the JES output.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Mar 19, 2007 11:45 pm    Post subject:
Reply with quote

dick scherrer wrote:
Hello,

FYI
Quote:
you will get the time taken by that JOB, near to that time, cost of the JOB will be given

Only at some sites. Many sites do not present the $cost of the job in the JES output.


Oh..k Thanks for correcting Me. Still why do we have these type of differences at different sites?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Mar 20, 2007 12:21 am    Post subject:
Reply with quote

You're welcome icon_smile.gif

Not every site has the same approach to billing. Not every site even calculates a $cost for each job run.

What is common to most sites is capturing the amount of cpu and i/o used (SMF). Sometimes you will hear the term "service units", but if one wants to tune, knowing what jobs use the most cpu cycles and what jobs generate the most i/o is a good place to start - this includes resources consumed by database interaction as well.

If the largest resource users can be "tuned" to use less, the $cost (whether calculated and published or not) can be reduced.
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 Mar 20, 2007 3:26 pm    Post subject:
Reply with quote

SMF type 30 is probably the place to start. These record what resource is used by which job, STc, TSOid etc. etc.

The RMF records will record all resource consumption, so the RMF total minus the SMF total for any given recording period is the resource used by the operating system which should then be distributed accordingly amongst the billable "users".
Back to top
View user's profile Send private message
Ravi gaur

New User


Joined: 12 Jul 2005
Posts: 38

PostPosted: Wed Mar 28, 2007 3:13 pm    Post subject: Re: Tracking Mainframes usage and billing for each user
Reply with quote

type30 is correct ..However with the service class TYPE72GO can give you vital information about the cpu uses on the basis of the Service class..like Batch,TSO etc etc.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts User Cancels the job PANDU1 DB2 1 Sat Mar 04, 2017 8:21 pm
No new posts Are there any Freeware utilties for i... johnmull IBM Tools 2 Wed Dec 21, 2016 8:29 am
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm


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