On 28/12/2017 06:03 AM, Peter Ten Eyck wrote:
Thanks for the suggestion on this topic. I have discovered that the LPAR that 
this un-mount occurred on does not cut type 92 (USS) records so I will be 
unable to use them to figure what un-mounted my file.
I also see type 42 records for the ZFS data component. If knowing when the un-mount occured is helpful, the type 42 close statistics record might tell you.
(EasySMF Dataset Activity report).

You can use Java to scan all SMF records for a string and print some basic info:

import java.io.IOException;
import com.blackhillsoftware.smf.SmfRecordReader;

public class SmfSearch
{
    public static void main(String[] args) throws IOException
{
        try (SmfRecordReader reader = SmfRecordReader.fromDD("INPUT"))
{
reader.stream()
                // exclude types some we obviously don't want
                .filter(record -> record.recordType() != 100)
                .filter(record -> record.recordType() != 101)
                .filter(record -> record.recordType() != 102)
                .filter(record -> record.recordType() != 110)
                .filter(record -> record.toString().contains("CICSTS53.CICS.ESA1.HFS.FF"))
.limit(1000)
                .forEach(record ->
                    System.out.format("%-24s %s %3d %3s%n",
record.smfDateTime(),
record.system(),
record.recordType(),
                        record.hasSubtypes() ?
                            Integer.toString(record.subType()) :
""));
}
System.out.println("Done");
}
}

On my system I saw only type 92 and 42 records for a ZFS.

Andrew Rowley

--
Andrew Rowley
and...@blackhillsoftware.com

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

Reply via email to