Page 1 of 1

Reading SMF records through REXX

PostPosted: Sun Aug 05, 2012 1:01 am
by Viswanathchandru
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

Re: Reading SMF records through REXX

PostPosted: Sun Aug 05, 2012 3:16 am
by dick scherrer
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.

Re: Reading SMF records through REXX

PostPosted: Sun Aug 05, 2012 5:47 pm
by enrico-sorichetti
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.

Re: Reading SMF records through REXX

PostPosted: Mon Aug 06, 2012 3:45 pm
by Anuj Dhawan
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.

Re: Reading SMF records through REXX

PostPosted: Tue Aug 07, 2012 12:56 am
by Pedro
If you locate the DSN using ISPF 3.4 and hit PF1 twice, you know what you are looking for.

Can you explain more?

Re: Reading SMF records through REXX

PostPosted: Tue Aug 07, 2012 3:45 pm
by Anuj Dhawan
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.

Re: Reading SMF records through REXX

PostPosted: Tue Aug 07, 2012 7:49 pm
by enrico-sorichetti
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 )

Re: Reading SMF records through REXX

PostPosted: Tue Aug 07, 2012 8:06 pm
by dick scherrer
Hi Enrico,

Yup, that is the way interpreted this questoin also.

Maybe TS will clarify . . .