Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Mainframe Storage HSM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
upendrasri

Active User


Joined: 28 Sep 2017
Posts: 106
Location: India

PostPosted: Thu Feb 20, 2020 5:51 pm    Post subject: Mainframe Storage HSM
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 User


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

PostPosted: Thu Feb 20, 2020 6:31 pm    Post subject:
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: 106
Location: India

PostPosted: Thu Feb 20, 2020 8:17 pm    Post subject:
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 User


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

PostPosted: Thu Feb 20, 2020 11:49 pm    Post subject:
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: 106
Location: India

PostPosted: Fri Feb 21, 2020 9:14 am    Post subject:
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: 8795
Location: Welsh Wales

PostPosted: Sun Feb 23, 2020 8:45 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Assign a Function key to Mainf... upendrasri TSO/ISPF 4 Sat May 30, 2020 9:03 pm
No new posts Mainframe ISPREDIT Macro query upendrasri TSO/ISPF 3 Wed May 27, 2020 1:12 pm
No new posts Mainframe ASSEMBLER LEARNING MANUAL w... upendrasri PL/I & Assembler 2 Tue May 05, 2020 11:42 am
No new posts Typing the CENT sign ยข on mainframe,... Rod Hittle All Other Mainframe Topics 2 Wed Apr 15, 2020 7:06 pm
No new posts Trigger mainframe job , when file pla... Nandhinee All Other Mainframe Topics 2 Thu Apr 09, 2020 10:30 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us