Re: SMF 92 analysis (File System Activity) - Solved

2017-03-31 Thread Steve Smith
Wow, perverse, tragic, yet funny as hell.  C'est la vie.

Gotta know what country you're in (what the lingua franca is...) :-)

On Fri, Mar 31, 2017 at 9:39 AM, John McKown 
wrote:

> On Fri, Mar 31, 2017 at 7:18 AM, Elardus Engelbrecht <
> elardus.engelbre...@sita.co.za> wrote:
>
> > Can you believe it? The '/*' before the 'Edit' was interpreted as 'delete
> > the whole planet earth, below and down...'
> >
>
> ​Just as any UNIX user, without the "confusion" of a TSO background, would
> expect.​ Someone, like me, might even be confused for a bit. I'd likely
> never write such a thing. But looking at it, I might easily say "looks OK
> to me".
>

sas

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF 92 analysis (File System Activity) - Solved

2017-03-31 Thread John McKown
On Fri, Mar 31, 2017 at 7:18 AM, Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:

> To all
>
> Many thanks to all who replied on IBM-MAIN and more off-list!
>
> Wow, I can't believe there are so many friendly IBM-MAIN persons there!
>
> Ok, for archive purposes - there are many tools available:
>
> DFSORT - Yes, I'm familiar with that, but to create jobs with all the
> record selections will take me a while and I'm pressed to get solution
> quickly. Scanning with SDSF could help, but that is tedious.
>
> DAF - Hmmm, that is news to me that it can handle 92 too. Ok, I'm going to
> download that and play with it.
>
> MXG? Sorry, we don't have SAS in the first place.
>
> Omegamon - still in installation phase in our sandbox despite my RACF
> homework being completed. Not useful at this stage.
>
> EasySMF and Spectrum SMF Writer. 30 days trail.
>
> I believe there are gazillion more. (I think, with z/OS v2.1 the RMF
> spreadsheet reporter could help with it?)
>
>
> Ok, I tried out to download all of them. Due to network issues on our
> side, I could only use EasySMF for now because of time constraints and I
> found the reason:
>
> The reason why that symbolics disappeared during IPL (great!) was with the
> use of comment in the one line in a batch job:
>
> BPXBATCH SH rm /tmp//* Edit TSO UserId */
>

I completely understand why  did this. It is just regular a TSO
and/or REXX​ comment. Unfortunately, UNIX comments are a totally different
syntax. BPXBATCH is a UNIX command process, so the mind needs to be in
"UNIX mode". Which can be difficult. This is one reason why I prefer to do
my UNIX work from a true (SSH / Telnet) UNIX shell prompt. It is easier to
keep my mind in "UNIX mode". I have, on rare occasion, done some UNIX work
from ISPF option 6 using the OSHELL command. There is a brain cramp! Using
a TSO command process (in REXX) to issue UNIX commands. Uh, which comment
form do I use? Hint: testing shows that is needs to be the UNIX form:
"OSHELL echo x #x" will echo "x", whereas "OSHELL echo x /* comment */"
which echo "x", the file names in root, "comment", and some file names in
my personal "UNIX home" directory. Not what a TSO user would expect. The
proper way is:

BPXBATCH SH rm /tmp/ # Edit TSO UserId

​The # starts the comment, which always goes to end of line.​


> Can you believe it? The '/*' before the 'Edit' was interpreted as 'delete
> the whole planet earth, below and down...'
>

​Just as any UNIX user, without the "confusion" of a TSO background, would
expect.​ Someone, like me, might even be confused for a bit. I'd likely
never write such a thing. But looking at it, I might easily say "looks OK
to me".



>
> Never again will that comment be allowed there. ;-)
>
> Many thanks to all who helped me out.
>
> Groete / Greetings
> Elardus Engelbrecht
>
>
-- 
"Irrigation of the land with seawater desalinated by fusion power is
ancient. It's called 'rain'." -- Michael McClary, in alt.fusion

Maranatha! <><
John McKown

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF 92 analysis (File System Activity) - Solved

2017-03-31 Thread Elardus Engelbrecht
To all

Many thanks to all who replied on IBM-MAIN and more off-list!

Wow, I can't believe there are so many friendly IBM-MAIN persons there!

Ok, for archive purposes - there are many tools available:

DFSORT - Yes, I'm familiar with that, but to create jobs with all the record 
selections will take me a while and I'm pressed to get solution quickly. 
Scanning with SDSF could help, but that is tedious.

DAF - Hmmm, that is news to me that it can handle 92 too. Ok, I'm going to 
download that and play with it.

MXG? Sorry, we don't have SAS in the first place.

Omegamon - still in installation phase in our sandbox despite my RACF homework 
being completed. Not useful at this stage.

EasySMF and Spectrum SMF Writer. 30 days trail. 

I believe there are gazillion more. (I think, with z/OS v2.1 the RMF 
spreadsheet reporter could help with it?)


Ok, I tried out to download all of them. Due to network issues on our side, I 
could only use EasySMF for now because of time constraints and I found the 
reason:

The reason why that symbolics disappeared during IPL (great!) was with the use 
of comment in the one line in a batch job:

BPXBATCH SH rm /tmp//* Edit TSO UserId */

Can you believe it? The '/*' before the 'Edit' was interpreted as 'delete the 
whole planet earth, below and down...'

Never again will that comment be allowed there. ;-)

Many thanks to all who helped me out.

Groete / Greetings
Elardus Engelbrecht

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF 92 analysis (File System Activity)

2017-03-31 Thread Charles Mills
There are various SMF reporting tools of various capabilities on the CBT. I 
might just search 'SMF'. Certainly good support for SMF 14 (did you mean 15?) 
-- less certain about 92 which is relatively newer.

Don't you have any tools of this sort? MXG? Omegamon?

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Elardus Engelbrecht
Sent: Friday, March 31, 2017 6:20 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: SMF 92 analysis (File System Activity)

To all gurus,

Background:

Some of my colleagues applied some PTFs on a sandbox and IPLed that.
Something went wrong with the symbolic references (file type Symb). So /dev ... 
whatever, etc. disappeared after the IPL.
Backup / restore it to a new zHFS file using another datasetname resolved the 
problem.

Question: 

Are there any tools available to analyse SMF record 92 and subtype 14 to see 
what all happened to these zFS and all the folders?

Of course, Google listed some tools, but they are costly (two [nameless] 
vendors known of being expensive). I have tried searching MVS-OE, but searching 
that list is difficult. Apparently there is not a search tool there? 

CBT tape searches turned up empty, perhaps I used incorrect search arguments?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF 92 analysis (File System Activity)

2017-03-31 Thread van der Grijn, Bart (B)
Have you tried DAF? 

From the comments in the source: 

* Supported SMF Records: *
...
* 092 000 OpenMVS File System Activity   *
* 092 001 - File System Mount*
* 092 002 - File System Quiesced *
* 092 004 - File System Unquiesced   *
* 092 005 - File System Unmounted*
* 092 006 - File System Remounted*
* 092 007 - File System Move *
* 092 011 - File Close   *
* 092 014 - File Delete / Rename *

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Elardus Engelbrecht
Sent: Friday, March 31, 2017 6:20 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: SMF 92 analysis (File System Activity)

To all gurus,

Background:

Some of my colleagues applied some PTFs on a sandbox and IPLed that.
Something went wrong with the symbolic references (file type Symb). So /dev ... 
whatever, etc. disappeared after the IPL.
Backup / restore it to a new zHFS file using another datasetname resolved the 
problem.

Question: 

Are there any tools available to analyse SMF record 92 and subtype 14 to see 
what all happened to these zFS and all the folders?

Of course, Google listed some tools, but they are costly (two [nameless] 
vendors known of being expensive). I have tried searching MVS-OE, but searching 
that list is difficult. Apparently there is not a search tool there? 

CBT tape searches turned up empty, perhaps I used incorrect search arguments?

Does anyone knows of such tools which I can use to read dumped SMF 92 records? 
Or at least try to learn what happened during mount, unmounting, backup and 
restore of those ZHFS datasets and their contents.

Many thanks in advance.

Groete / Greetings
Elardus Engelbrecht

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF 92 analysis (File System Activity)

2017-03-31 Thread Massimo Biancucci
If you need only to format the records, use your SORT tool (more of the
people over there can help or contact me offline).

If you need a tool who can "understand" what did happen  none from my
side.

Regards.
Massimo

2017-03-31 12:19 GMT+02:00 Elardus Engelbrecht <
elardus.engelbre...@sita.co.za>:

> To all gurus,
>
> Background:
>
> Some of my colleagues applied some PTFs on a sandbox and IPLed that.
> Something went wrong with the symbolic references (file type Symb). So
> /dev ... whatever, etc. disappeared after the IPL.
> Backup / restore it to a new zHFS file using another datasetname resolved
> the problem.
>
> Question:
>
> Are there any tools available to analyse SMF record 92 and subtype 14 to
> see what all happened to these zFS and all the folders?
>
> Of course, Google listed some tools, but they are costly (two [nameless]
> vendors known of being expensive). I have tried searching MVS-OE, but
> searching that list is difficult. Apparently there is not a search tool
> there?
>
> CBT tape searches turned up empty, perhaps I used incorrect search
> arguments?
>
> Does anyone knows of such tools which I can use to read dumped SMF 92
> records? Or at least try to learn what happened during mount, unmounting,
> backup and restore of those ZHFS datasets and their contents.
>
> Many thanks in advance.
>
> Groete / Greetings
> Elardus Engelbrecht
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


SMF 92 analysis (File System Activity)

2017-03-31 Thread Elardus Engelbrecht
To all gurus,

Background:

Some of my colleagues applied some PTFs on a sandbox and IPLed that.
Something went wrong with the symbolic references (file type Symb). So /dev ... 
whatever, etc. disappeared after the IPL.
Backup / restore it to a new zHFS file using another datasetname resolved the 
problem.

Question: 

Are there any tools available to analyse SMF record 92 and subtype 14 to see 
what all happened to these zFS and all the folders?

Of course, Google listed some tools, but they are costly (two [nameless] 
vendors known of being expensive). I have tried searching MVS-OE, but searching 
that list is difficult. Apparently there is not a search tool there? 

CBT tape searches turned up empty, perhaps I used incorrect search arguments?

Does anyone knows of such tools which I can use to read dumped SMF 92 records? 
Or at least try to learn what happened during mount, unmounting, backup and 
restore of those ZHFS datasets and their contents.

Many thanks in advance.

Groete / Greetings
Elardus Engelbrecht

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN