Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SMF QUESTION

134 views
Skip to first unread message

esmie moo

unread,
Jan 26, 2017, 12:21:25 PM1/26/17
to
Gentle Readers,

I am trying to print TYPE 17 records(using IDCAMS PRT command) to find out what dsns were deleted from 15:00 (3.pm.) up to 17:00 (5.pm. The IDCAM report that is produced doesn't seem to give me what I am looking for. I was wondering if someone can validate my input cards.
//SYSIN DD *
INDD(SMF,OPTIONS(DUMP))
START(1500)
END(1700)
OUTDD(OUTDD1,TYPE(17:17))
/*
//STEP2 EXEC PGM=IDCAMS,TIME=1440
//DD1 DD DSN=&&SM11,
// DISP=(OLD,DELETE),
// DCB=(RECFM=VBS,LRECL=32760,BLKSIZE=4096)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
PRINT INFILE(DD1) DUMP
/*

Thanks in advance

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

Lizette Koehler

unread,
Jan 26, 2017, 12:26:25 PM1/26/17
to
1) What does the output say from the IFASMFDP program?
The bottom of the listing will tell you how many records were extracted.
2) Go to CBTTAPE.ORG and download DAF. It can read SMF Data and it is easier to extract details like this


IDCAMS probably had no records from the IFASMFDP step

Lizette

esmie moo

unread,
Jan 26, 2017, 12:57:08 PM1/26/17
to
There wee 80,958 records printed. I just want to ensure that the parms for the start and stop time is of the proper syntax..

--------------------------------------------
On Thu, 1/26/17, Lizette Koehler <star...@MINDSPRING.COM> wrote:

Subject: Re: SMF QUESTION
To: IBM-...@LISTSERV.UA.EDU
Received: Thursday, January 26, 2017, 12:26 PM

Sri h Kolusu

unread,
Jan 26, 2017, 1:15:44 PM1/26/17
to
Esmie moo,

The SMF17 record is simple and straight forward as it does not have
variable sections or triplets. There are 2 time fields in the SMF layout

SMF17TME - Time since midnight, in hundredths of a second, when the record
was moved into the SMF buffer.

SMF17RST - Time since midnight, in hundredths of a second, that the reader
recognized the JOB card (for this job).

I assumed that you wanted to extract the data from SMF17RST field. So here
is a DFSORT job which will format your entire SMF17 data while extracting
the information that ran between 15:00:00(3 pm) and 17:00:00(5 pm). Look
at the OUTFIL INCLUDE commands for the inclusion ranges.

//STEP2 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DISP=(OLD,DELETE),DSN=&&SM11,
//SORTOUT DD SYSOUT=*
//SYSIN DD *
OPTION COPY,VLSHRT
INCLUDE COND=(6,1,BI,EQ,17) $ TYPE 17
INREC BUILD=(1,4,
07,4,TM1,EDIT=(TT:TT:TT), $ SMF17TME
X, $ SPACE
11,4,DT1,EDIT=(TTTT-TT-TT), $ SMF17DTE
X, $ SPACE
15,4, $ SMF17SID
X, $ SPACE
19,8, $ SMF17JBN
X, $ SPACE
27,4,TM1,EDIT=(TT:TT:TT), $ SMF17RST
X, $ SPACE
31,4,DT1,EDIT=(TTTT-TT-TT), $ SMF17RSD
X, $ SPACE
35,8, $ SMF17UID
X, $ SPACE
43,2, $ RESERVED
X, $ SPACE
45,44, $ SMF17DSN
X, $ SPACE
89,3, $ RESERVED
X, $ SPACE
92,1,BI,EDIT=(TTT), $ SMF17NVL
X, $ SPACE
93,2, $ RESERVED
X, $ SPACE
95,6) $ SMF17FVL

OUTFIL VTOF,BUILD=(5,128),
INCLUDE=(39,8,CH,GE,C'15:00:00',AND,
39,8,CH,LE,C'17:00:00')
//*


Further if you have any questions please let me know

Thanks,
Kolusu

IBM Mainframe Discussion List <IBM-...@LISTSERV.UA.EDU> wrote on
01/26/2017 10:21:14 AM:

Lizette Koehler

unread,
Jan 26, 2017, 2:18:30 PM1/26/17
to
So the report on the far right hand side at the bottom says 80+ records.

Starting in Col 1
DATE(yyyyddd,yyyyddd)
START(hhmm)
END(hhmm)

This report show 522 records for SMF 88 Records

SUMMARY ACTIVITY REPORT
START DATE-TIME 01/26/2017-04:46:23 END DATE-TIME 01/26/2017-12:00:02
RECORD RECORDS PERCENT AVG. RECORD MIN. RECORD MAX. RECORD RECORDS
TYPE READ OF TOTAL LENGTH LENGTH LENGTH WRITTEN
88 522 .07 % 275.33 161 308 522

Here I have no records

SUMMARY ACTIVITY REPORT
START DATE-TIME 01/26/2017-04:46:23 END DATE-TIME 01/26/2017-12:00:02
RECORD RECORDS PERCENT AVG. RECORD MIN. RECORD MAX. RECORD RECORDS
TYPE READ OF TOTAL LENGTH LENGTH LENGTH WRITTEN
88 902 .08 % 277.36 161 308 0

Lizette

retired mainframer

unread,
Jan 26, 2017, 2:48:15 PM1/26/17
to
By not specifying a date, you extracted records from the 2 hour window for every day present in the SMF data.

While probably not a problem, the ":17" is superfluous for a single record type.

As suggested, DAF is the tool of choice for this since it will allow you to eliminate the records for temporary datasets and format the output into something easier to read.

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-...@LISTSERV.UA.EDU] On
> Behalf Of esmie moo
> Sent: Thursday, January 26, 2017 9:54 AM
> To: IBM-...@LISTSERV.UA.EDU
> Subject: Re: SMF QUESTION
>

esmie moo

unread,
Jan 27, 2017, 8:27:52 AM1/27/17
to
Thanks Lizette.
I checked my report and it does have record count of 15,421 for that specific time range and record type. This confirms that I am on the
right track.
--------------------------------------------
On Thu, 1/26/17, Lizette Koehler <star...@MINDSPRING.COM> wrote:

Subject: Re: SMF QUESTION
To: IBM-...@LISTSERV.UA.EDU
Received: Thursday, January 26, 2017, 2:18 PM

Lizette Koehler

unread,
Jan 27, 2017, 10:45:14 AM1/27/17
to
Nothing more I can think of.

DAF would be an easy way to verify your SMF data.

ICETOOL or SYNCTOOL can also read SMF Data and extract based on SMF Type and Date/time range. This has been posted and should be in the archives.

Lizette


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-...@LISTSERV.UA.EDU] On
> Behalf Of esmie moo
> Sent: Friday, January 27, 2017 6:28 AM
> To: IBM-...@LISTSERV.UA.EDU
> Subject: Re: SMF QUESTION
>
> Thanks Lizette.
> I checked my report and it does have record count of 15,421 for that
> specific time range and record type. This confirms that I am on the right
> track.
> --------------------------------------------
> On Thu, 1/26/17, Lizette Koehler <star...@MINDSPRING.COM> wrote:
>
> Subject: Re: SMF QUESTION
> To: IBM-...@LISTSERV.UA.EDU
> Received: Thursday, January 26, 2017, 2:18 PM
>
> So the report on the far right hand
> side at the bottom says 80+ records.
>
> Starting in Col 1
> DATE(yyyyddd,yyyyddd)
> START(hhmm)
> END(hhmm)
>

0 new messages