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

SMF RECORDS


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jan 05, 2010 9:14 am
Reply with quote

Hi,

How to find the dataset which contains the SMF records or if there is any naming convention for those datasets?

Thanks.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jan 05, 2010 11:28 am
Reply with quote

Try the MVS command D SMF.

O.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1753
Location: Tirupur, India

PostPosted: Tue Jan 05, 2010 1:40 pm
Reply with quote

Hi,

Is D SMF shop specific? it does'nt work for me icon_eek.gif

Thanks,
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jan 05, 2010 1:43 pm
Reply with quote

D SMF is a standard command, and is well documented in the fine manual.

O.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1753
Location: Tirupur, India

PostPosted: Tue Jan 05, 2010 1:45 pm
Reply with quote

Roger that!!. icon_smile.gif
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jan 05, 2010 2:23 pm
Reply with quote

Hi thanks for your but can anyone help me out how to execute the MVS coomands through REXX i tried

Code:

/*REXX*/                                                               
TRACE I                                                                 
ADDRESS CONSOLE                                                         
"D SMF"                                                                 


But it gave me

Code:

*-* ADDRESS CONSOLE                                                     
*-* "D SMF"                                                             
>L>   "D SMF"                                                           
+++ RC(-3) +++                                                         


Please correct me if I am wrong
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Tue Jan 05, 2010 2:30 pm
Reply with quote

smf dataset names are pretty static for the IPL life,
so there is no need to query their name every time

if You are running on a multi-image system same thing

even better...
ALL the systems related datasets, Unless the setup was badly done,
should carry a token which identifies the system/zos image to which they belong
- usually the system/jes,/smf/node/plexid/<any_thing_you_like>ID
also in this case all the relevant datasets names should be easily buildable applying the naming convention

but if You explain better what You want to do we might offer better suggestions
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jan 05, 2010 2:34 pm
Reply with quote

We have some datasets and gets deleted by some x person/job so to find out access SMF is the right place.

So I need to know which has those data..

Please guide me if my approach can be made better in some different way
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Tue Jan 05, 2010 2:46 pm
Reply with quote

Quote:
How to find the dataset which contains the SMF records or if there is any naming convention for those datasets?

Yes, if the setup has been done decently, ask Your support


to find out about deaths and murderers You need to have a good setup...

SMF collects data, it stores them in the smf LIVE dataset, which unfortunately tend to fill up

when a live SMF dataset is filled up, a dump is taken on a sequential dataset that gets archived according to Your organization standards

usually when somebody realizes such mishaps the relevant data might be quite old,
so You need to contact Your support to find how SMF data has been archived,
the names of the archive datasets, and all the mumbo jumbo

finding out the info You ask for might be quite time resource consuming,
You will have to process all the archived smf data ( backwards might be better) until You find what You are looking for

to have an insight of the process google for "DAF,dataset audit facility" a free tool to process smf data fromMIchael Clery

to save some of Your precious time I took the liberty of searching an posting the link on You behalf
home.pacbell.net/mcleary/freeware.html
sorry if I deprived You of the satisfaction of finding it Yourself
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jan 05, 2010 3:01 pm
Reply with quote

Thanks for all your valuable time & info Enrico and I am not deprived for your help but feeling previledged icon_smile.gif but just trying to learn things on own looking at manuals ,forum & google and trying the best not even to scarcely annoying experts like you icon_smile.gif

Thanks icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Jan 06, 2010 1:18 am
Reply with quote

Hello,

Quote:
trying the best not even to scarcely annoying experts like you
Not to worry. Sometimes we are a fussy lot. . . icon_smile.gif

Good luck on the research & learning - someone will be here when there are questions icon_wink.gif

d
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Identify and write records containing... SYNCSORT 11
No new posts Filter records where condition is in ... SYNCSORT 6
Search our Forums:


Back to Top