Reading SMF records through REXX



IBM's Command List programming language & Restructured Extended Executor

Reading SMF records through REXX

Postby Viswanathchandru » Sun Aug 05, 2012 1:01 am

Dear all,
Here in my shop the usual way of addressing a SMF record search is through the Batch job using the utility. But, I was going through some post and tips SMF records can also be processed through REXX provided the format VBS can be converted into FB through sort or some other utilities like ICEGENER. Yes, I had good information on the convertion through some post's and documents. But, My intension, say for eg: i would need to search whether this particular dataset is used by system or not. Any inputs would be helpful. Apologize if i or my thoughts or wrong! also let me know if i need to give more information.



Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: Reading SMF records through REXX

 

Re: Reading SMF records through REXX

Postby dick scherrer » Sun Aug 05, 2012 3:16 am

Hello,

If there is already a utility in place that will do an SMF record search, why is something else needed?

Can you not just search for the datasedt of interest?

Many organizations already capture job, program, and dataset information for use by developers and support people so they do not need to reference raw SMF data. You should ask whoever supports SMF on your system what might already be available.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Reading SMF records through REXX

Postby enrico-sorichetti » Sun Aug 05, 2012 5:47 pm

the best tool ( FREE ) to extract from the SMF data all You might know about dataset utilization is DAF
https://sites.google.com/site/michaeljo ... e/freeware
no need to rewrite when something is available.
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Reading SMF records through REXX

Postby Anuj Dhawan » Mon Aug 06, 2012 3:45 pm

If you are in a direction to create some "tools" which can be used by your current shop, suggest you get familiar with what is available and what is not.

E.g. as you said
My intension, say for eg: i would need to search whether this particular dataset is used by system or not.
- to create such a tool would be a futile effort. If you locate the DSN using ISPF 3.4 and hit PF1 twice, you know what you are looking for.

FWIW.
Anuj
Anuj Dhawan
 
Posts: 274
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times

Re: Reading SMF records through REXX

Postby Pedro » Tue Aug 07, 2012 12:56 am

If you locate the DSN using ISPF 3.4 and hit PF1 twice, you know what you are looking for.

Can you explain more?
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: Reading SMF records through REXX

Postby Anuj Dhawan » Tue Aug 07, 2012 3:45 pm

If you are asking thi s Pedro that means, I was failed to explain it well, before:

Menu Options View Utilities Compilers Help
------------------------------------------------------------------------------
DSLIST - Data Sets Matching HLQ.FIRST.FILE Data set in use Command ===> Scroll ===> CSR

Command - Enter "/" to select action Message Volume
-------------------------------------------------------------------------------
E HLQ.FIRST.FILE DMASM5
***************************** End of Data Set list ****************************


and you hit PF1 twice, you'll get this
Data Set Contention
Command ===>
More: +
Data set 'HLQ.FIRST.FILE'
is in use by the following 1 user(s) and/or job(s):
------------------------------------------------------------------------------
T1234AD









------------------------------------------------------------------------------

On terminals which support extended data streams, TSO user and Job
names have the following colors:
NAME1 - Normal Green - Owns data set shared
NAME2 - Normal Red - Owns data set exclusively
NAME3 - Reverse Video Green - Waiting for shared use
DCCS1S00 -DSLIST *HELP
where "T1234AD" is the RACF ID of the person who has opened it for edit.
Anuj
Anuj Dhawan
 
Posts: 274
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times

Re: Reading SMF records through REXX

Postby enrico-sorichetti » Tue Aug 07, 2012 7:49 pm

unless I completely misunderstood ( SMF reference )
the TS does not want to know about utilization as pending ENQ,
but rather wants to know when a dataset was referenced and by whom ( probably )
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Reading SMF records through REXX

Postby dick scherrer » Tue Aug 07, 2012 8:06 pm

Hi Enrico,

Yup, that is the way interpreted this questoin also.

Maybe TS will clarify . . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post