SHOWSMF TSO Command or Started Task

SHOWSMF may be executed as a TSO command or as a Started Task to display information about the SMF datasets (SYS1.MANX and SYS1.MANY).  Information shown is the allocation for the datasets and the amount of space used, plus which dataset is currently active (receiving records from the SMF writer).

It is located in File #301 of the CBT overflow tape and is part of a huge collection of programs submitted by Intel Corporation.

Installation

The jobstream to assemble, and link-edit the executable, and install JCL to run the command as a Started task - showsmf$.jcl - is contained in the archive showsmf.tgz [MD5: 5AEBEAE5E51F3F0CAEE906776AEDEA5F].  This jobstream contains the source for SHOWSMF plus a required macro, PGM, which I have copied verbatim from the CBT file.  No changes are required to successfully assemble and link the load module using the IFOX00 assembler.  The jobstream also includes a simple PROCedure to execute the load module from the system console as a started task.

Download the archive and extract the jobstream (WinZip on Windows/?? or tar on Linux).  Submit the jobstream to assemble and link the single load module for SHOWSMF into SYS2.LINKLIB and copy the JCL into SYS2.PROCLIB.  If you don't have SYS2.LINKLIB defined, you will need to modify the jobstream to specify a different target load library.  Also if you do not have SYS2.PROCLIB defined, you may modify the jobstream to place the JCL into SYS1.PROCLIB.

 

Utilizing SHOWSMF

If you have installed SHOWSMF into a load library accessible from TSO, you can simply execute the load module from any TSO session:

READY 
showsmf 
SHOWSMF - ALLOC USED %FULL IN-USE DSNAME 
SHOWSMF -  300     1   0.3        SYS1.MANX 
SHOWSMF -  300    53  17.6   ***  SYS1.MANY 

The three asterisks in the output indicate that SYS1.MANY is the currently active dataset.

From the system console, you can start a task to call the load module using the supplied procedure:

s showsmf 
$HASP100 SHOWSMF ON STCINRDR 
$HASP373 SHOWSMF STARTED 
IEF403I SHOWSMF - STARTED - TIME=18.22.23 
+SHOWSMF - ALLOC USED %FULL IN-USE DSNAME 
+SHOWSMF -  300     1   0.3        SYS1.MANX 
+SHOWSMF -  300    53  17.6   ***  SYS1.MANY 
IEF404I SHOWSMF - ENDED - TIME=18.22.23 
$HASP395 SHOWSMF ENDED 

I hope that you have found my instructions useful.  If you have questions that I can answer to help expand upon my explanations and examples shown here, please don't hesitate to send them to me:


Return to Site Home Page 


This page was last updated on January 17, 2015 .