IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Mainframe Storage HSM


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
upendrasri

Active User


Joined: 28 Sep 2017
Posts: 121
Location: India

PostPosted: Thu Feb 20, 2020 5:51 pm
Reply with quote

Hi All,

My query is, Is there any way to identify all the data sets removed by HSM from ML2?

Like list of data sets processed for deletion on that particular day by HSM ?

Any help or suggestions would be great help.

Thanks.
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1252
Location: Bamberg, Germany

PostPosted: Thu Feb 20, 2020 6:31 pm
Reply with quote

Yes, there is. Have a look at FSR records written by DFHSM.
Back to top
View user's profile Send private message
upendrasri

Active User


Joined: 28 Sep 2017
Posts: 121
Location: India

PostPosted: Thu Feb 20, 2020 8:17 pm
Reply with quote

Hi Joerg,

Thank you. Please let me know in case if you have any Job to extract FSR records? We dont have HSM Reporter in our environment.

Thanks!
Upendra.
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1252
Location: Bamberg, Germany

PostPosted: Thu Feb 20, 2020 11:49 pm
Reply with quote

You need SMF records written by DFHSM as DD:SORTIN for this unformatted sample SORT. The FSR record is what your SETSYS SMF(nn)+1 has specified in ARCCMD. Typically it should be 240(+1) = X'F1'
Code:
  OPTION COPY,VLSCMP,NOSOLRF                                           
* Include all FSR records with Subtypes 06 and RetCode of Zero         
  INCLUDE COND=(6,1,BI,EQ,X'F1',AND,109,4,BI,EQ,+0,AND,                 
                43,1,BI,EQ,X'06')                                       
  OUTREC BUILD=(1,4,         * RDW                                     
               15,4,         * System Identifier (SMFID)               
               11,4,DT1,     * Date of Function being performed         
               7,4,TM1,      * Time (TOD)                               
               43,1,CHANGE=(10,X'06',C'Del Mig.DS'), * FSR Subtype     
               109,4,BI,M11,LENGTH=4,C'/',  * Return Code from MWE     
               113,4,BI,M11,LENGTH=4,       * Reason Code from MWE     
               45,44,        * Dataset Name                             
               99,6,         * Serial of Original Volume from MWE (FVOL)
               157,4,DT1,    * Dataset Last Referenced Date             
               161,4,DT1,    * Dataset Last Moved Date                 
               185,2,BI,M10,LENGTH=4,        * Dataset Age             
               215,8,        * Management Class Name or blank           
               35,8)         * ID of the User requesting the Function   
  END                                                                   


Record layout is to be found in DFSMShsm Data Areas PDF.
Back to top
View user's profile Send private message
upendrasri

Active User


Joined: 28 Sep 2017
Posts: 121
Location: India

PostPosted: Fri Feb 21, 2020 9:14 am
Reply with quote

Hi Joerg,

Thank you. I will try this.

Thanks.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sun Feb 23, 2020 8:45 pm
Reply with quote

Take a look at the built in log analyser - should be straight forward enough
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts CICS vs LE: STORAGE option CICS 0
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
Search our Forums:

Back to Top