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: 110
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

Active Member


Joined: 15 Aug 2015
Posts: 569
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: 110
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

Active Member


Joined: 15 Aug 2015
Posts: 569
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: 110
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 access Mainframe from .net application All Other Mainframe Topics 0
No new posts CSA Storage Key Removal IMS DB/DC 0
No new posts How to determine TLS/SSL version in m... TSO/ISPF 2
No new posts Mainframe developer resources/communi... COBOL Programming 2
No new posts Storage issue when inserting Chinese ... COBOL Programming 1
Search our Forums:

Back to Top