I'll ask our HSM guru folks tomorrow for some control boocks that contain
the info you want and I hope they (the clients) haven't disabeled the Rexx
STORAGE function by setting the STORFG bit to one in a IRXINITX exit.

They could give you TSO CONSOLE authority to create an EMCS CONSOLE TSO
session and at least give you the authority to issue the HSM QUERY command.
George Fogg


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Barry Gilder
Sent: Tuesday, November 20, 2007 8:01 PM
To: [email protected]
Subject: Retrieving current HSM AutoDump processing stats

Got a question for the HSM guru's on this list....

I need to retrieve the current AutoDump processing information from within a
REXX exec.

The HSM QUERY AUTOPROGRESS cmd returns the info I need.  For example :

AUTO DUMP IS CURRENTLY PROCESSING DFSMSHSM MANAGED VOLUMES SMS VOLUMES
RESTRICTED TO PROCESSING BY THIS PROCESSING UNIT: NOT
(CONT.) PROCESSED=847, TOTAL=1617, SMS VOLUMES NOT RESTRICTED TO
(CONT.) PROCESSING BY ANY PROCESSING UNIT: NOT PROCESSED=0, TOTAL=0,
(CONT.) NON-SMS VOLUMES: NOT PROCESSED=60, TOTAL=60

However, you can't write the output from a DFHSM QUERY cmd to a dataset.  
You can only use the REXX CONSOLE cmd to trap the output.

Unfortunately, we a few clients who don't allow the use of the REXX CONSOLE
cmd, so I'm looking at using the HSM DISPLAY cmd to dump HSM storage or the
REXX STORAGE cmd to traverse the HSM control blocks.

So far I haven't found anything in the HSM licensed manuals, so I was
wondering if someone knows how to retrieve this info?

Thanks

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the
archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to