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
 

 

COBOL Program for Read SMF Raw Data and Generate Report - 64

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
boo_sri

New User


Joined: 26 Jul 2005
Posts: 36
Location: charlotte

PostPosted: Thu Aug 04, 2011 3:54 pm    Post subject: COBOL Program for Read SMF Raw Data and Generate Report - 64
Reply with quote

Hi -
I need the COBOL Program for extracting the SMF data of type 64 and producing the user friendly reports. We dont have any monitoring utilities in our mainframe and need to do this manually. Anythought on developing this program or any samples.


Thanks,
Boopathy
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: Thu Aug 04, 2011 4:07 pm    Post subject:
Reply with quote

You obviously have the record layout from the IBM manuals, so what's stopping you.

64 are one of the easier record layouts to use.

What is it that you want to report on ?
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: Fri Aug 05, 2011 2:34 am    Post subject:
Reply with quote

Hello,

Many systems produce data that is selected from SMF that is in a more friendly layout so that people can do exactly what you mention.

Usually there is a file of JOB/STEP info and another file of DATASET info created for this type of work.

Suggest you talk with your system support people and learn if something already creates a file you could use.

As Expat asked, what should your ourput look like?

Keep in mind that the raw SMF data is usually a huge volume of data and many organizations restrict accessing the raw data. . .
Back to top
View user's profile Send private message
boo_sri

New User


Joined: 26 Jul 2005
Posts: 36
Location: charlotte

PostPosted: Mon Aug 08, 2011 1:16 pm    Post subject:
Reply with quote

Thanks Dick for your Suggestion.

Following Parameters needs to pulled from the Report:
1) IO Count for the specified VSAM file
2) VSAM Buffer Hits
3) Time Taken per IO
4) IO Wait Time
5) Number of Buffers Used
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Mon Aug 08, 2011 2:53 pm    Post subject: Reply to: COBOL Program for Read SMF Raw Data and Generate R
Reply with quote

Do you have the record layout?

If so, approach it like any reporting program. Just forget it is "complex system data" as you seen to want only one record-type in isolation.

Your SORT package to identify required data and toss away the rest. Sort into the required sequence, summing if necessary. Stick the file into your report program, usual control breaks, totals, that sort of stuff. Pop! There you go.

Then three days to get the report columns to line up with the titles and the spec :-)
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


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