Automatically migrate infrequently used data sets

During the course of a day a large number of permanent data sets are created, possibly accessed once, and then never referenced again. If those data sets are not automatically migrated by DFHSM from disk to near-line storage, they waste valuable space.

To monitor for this condition, perform the following steps:

Create a Dataset Group for permanent data sets that you know are created, accessed once, and should then be migrated. Then create the following situation:

  1. Right-click the Dataset Group Summary node in the navigation pane.
  2. Click Situations in the pop-up menu. The Situations for - Dataset Group Summary dialog box is displayed.
  3. Click the Create new Situation icon (Situation editor) to access the Create Situation dialog box.
  4. Enter the name and description of your new situation.
  5. Click OK to access the Select condition dialog box.
  6. Select S3_Dataset_Group_Details in the Attribute Group column.
  7. Select Primary Volume in the Attribute Item column.
  8. Click OK to return to the Situations for - Dataset Group Summary dialog box.
  9. In the Formula tab, enter values for Primary Volume. Change the operator to Not equal (!=) and enter the value MIGRAT.
  10. Click Add Conditions to access the Select condition dialog box.
  11. Choose Days Unreferenced in the Attribute Item column.
  12. Click OK to return to the Situations for - Dataset Group Summary dialog box.
  13. In the Formula tab, enter values for Days Unreferenced. Change the operator to Greater than (>) and enter the value 1.
  14. Click Add Conditions to access the Select condition dialog box.
  15. Choose Dataset Group Name in the Attribute Item column.
  16. Click OK to return to the Situations for - Dataset Group Summary dialog box.
  17. In the Formula tab, enter values for Dataset Group Name. Change the operator to Equal (==) and enter the value groupname. For example, the group name could be PAYROLL_TEMP. This group can be a specific set of data sets that you know are created and then referenced only once.
  18. Select the Distribution tab.
  19. Add the appropriate managed systems to the Assigned systems list for this situation.
  20. Select the Action tab.
  21. Enter the command you want to use in the System command entry box. For example, you could enter HMIGRATE &S3_Dataset_Group_Details:Dataset_Name. To add the variable click Attribute Substitution and select Dataset name.
  22. Select the Formula tab and click Formula which should be similar to Figure 1.
  23. Click Apply and OK to complete the definition your new situation and close the dialog box.
Figure 1. Partial view of a formula that monitors the migration of infrequently used data sets
Partial view of a formula that monitors the migration of infrequently used data sets