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

Reading SMF 100-102 records


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
avik1983

New User


Joined: 11 Mar 2010
Posts: 5
Location: Chennai

PostPosted: Fri Dec 10, 2010 2:31 pm
Reply with quote

I Have extracted SMF 100-102 records using JCL.
SMF record description -
100 - (DB2) Statistics
101 - (DB2) Accounting
102 - (DB2) Performance Trace

Now I want to read the SMF dataset to create the DB2 accounting Report as by using JCL we can do directly.I want to do the same by a program(If possible, Cobol). If someone can help by provoding any program to read SMF & to prepare accounting statistics report, It will be helpful.

Thanks in Advance
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Dec 10, 2010 2:40 pm
Reply with quote

Please oh please, do NOT say that you do things using only JCL, because you do not,
you use the JCL to invoke a program which actually does the processing icon_rolleyes.gif

I would have a chat with your performance and capacity people who probably already have the reports at hand using something like SAS with MXG or MICS.

Why reinvent the wheel when the latest model works just fine
Back to top
View user's profile Send private message
avik1983

New User


Joined: 11 Mar 2010
Posts: 5
Location: Chennai

PostPosted: Fri Dec 10, 2010 3:11 pm
Reply with quote

You are right!! But we don't have MXG or MICA in shop.
We generally prepare report invoking program through JCL. Some time DBA doesn't allow to run the same. In that case having a program which can process SMF data will do good.
If you can help providing any guidance, it will be helpful.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Dec 10, 2010 3:15 pm
Reply with quote

You need to speak to the people responsible for your capacity and performance monitoring, or maybe even the sysprogs, depending on how your site is set up.

These people will almost certainly have the kind of report that you want already available, or easily creatable. I can not think of a single site that I have worked at since about 1980 that has not had this in place.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top