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

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


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Aug 04, 2011 4:07 pm
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

Moderator Emeritus


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

PostPosted: Fri Aug 05, 2011 2:34 am
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Aug 08, 2011 2:53 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Error to read log with rexx CLIST & REXX 11
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
Search our Forums:

Back to Top