OK Richard, come let me show how I set it up:
Mgmtclas: USRTIER1
Class Transition Criteria
Time Since Creation Years :
Months :
Days . :
Time Since Last use Years :
Months :
Days . : 2
Storage Class: USRSCTR1
Availability . . . . . . . . . . . . : NOPREF
Accessibility . . . . . . . . . . . : NOPREF
Guaranteed Space . . . . . . . . : NO
Guaranteed Synchronous Write . . : NO
Multi-Tiered SGs . . . . . . . . :
Parallel Access Volume Capability : NOPREF
Cache Set Name . . . . . . . . . :
CF Direct Weight . . . . . . . . :
CF Sequential Weight . . . . . . :
Lock Set Name . . . . . . . . . . :
Disconnect Sphere at CLOSE . . . : NO
STORGRP
Primary pool UMGG9000 (Tier1)
Auto Migrate . . . . . . . . : YES
Auto Backup . . . . . . . . : NO
Auto Dump . . . . . . . . . : NO
Overflow . . . . . . . . . . : NO
Migrate Sys/Sys Group Name . : S0M0
Backup Sys/Sys Group Name . : S0M0
Dump Sys/Sys Group Name . . :
Extend SG Name . . . . . . . :
Copy Pool Backup SG Name . . :
Dump Class . . . . . . . . . :
Dump Class . . . . . . . . . :
Dump Class . . . . . . . . . . . . . . . :
Dump Class . . . . . . . . . . . . . . . :
Dump Class . . . . . . . . . . . . . . . :
Allocation/Migration Threshold - High . : 70
Low . . : 35
Alloc/Migr Threshold Track-Managed - High: 70
Low : 35
Total Space Alert Threshold % . . . . . : 30
Track-Managed Space Alert Threshold % . : 0
Guaranteed Backup Frequency . . . . . . :
BreakPointValue . . . . . . . . . . . . :
Processing Priority . . . . . . . . . . : 50
STORGRP: UMGG9001 - Tier2
Auto Migrate . . . . . . . . : YES
Auto Backup . . . . . . . . : NO
Auto Dump . . . . . . . . . : NO
Overflow . . . . . . . . . . : NO
Migrate Sys/Sys Group Name . : S0M0
Backup Sys/Sys Group Name . :
Dump Sys/Sys Group Name . . :
Extend SG Name . . . . . . . :
Copy Pool Backup SG Name . . :
Dump Class . . . . . . . . . :
Dump Class . . . . . . . . . :
Dump Class . . . . . . . . . . . . . . . :
Dump Class . . . . . . . . . . . . . . . :
Dump Class . . . . . . . . . . . . . . . :
Allocation/Migration Threshold - High . : 85
Low . . : 1
Alloc/Migr Threshold Track-Managed - High: 85
Low : 1
Total Space Alert Threshold % . . . . . : 0
Track-Managed Space Alert Threshold % . : 0
Guaranteed Backup Frequency . . . . . . :
BreakPointValue . . . . . . . . . . . . :
Processing Priority . . . . . . . . . . : 50
SCACS
FILTLIST USRSCTR1 INCLUDE(
N058725.TEST0.CLTRNS*
)
IF &ACSENVIR = 'SPGMCLTR' THEN
SELECT (&STORCLAS)
WHEN ('USRSCTR1')
SET &STORCLAS = 'USRSCTR2'
OTHERWISE SET &STORCLAS = &STORCLAS
END
MCACS
FILTLIST USRTIER1 INCLUDE(
N058725.TEST0.CLTRNS*
)
IF &ACSENVIR = 'SPGMCLTR' THEN
SELECT (&MGMTCLAS)
WHEN ('USRTIER1')
SET &MGMTCLAS = 'USRTIER2'
OTHERWISE SET &MGMTCLAS = &MGMTCLAS
END
SGACS
IF &ACSENVIR = 'SPGMCLTR' THEN
SELECT (&STORCLAS)
WHEN ('USRSCTR1') SET &STORGRP = 'UMGG9001'
OTHERWISE SET &STORGRP = &STORGRP
END
So now I need the current data set to be transitioned to UMGG9002 which is
Tier-2 at the Primary Level using the HSEND MIGRATE DSN(data.set.name)
TRANSITION
Data Set Name . . . . : N058725.TEST0.CLTRNS1
General Data Current Allocation
Management class . . : USRTIER1 Allocated tracks . : 1
Storage class . . . : USRSCTR1 Allocated extents . : 1
Volume serial . . . : UMGG13
Device type . . . . : 3390
Data class . . . . . : USERS
Organization . . . : PS Current Utilization
Record format . . . : FB Used tracks . . . . : 0
Record length . . . : 80 Used extents . . . : 0
Block size . . . . : 8000
1st extent tracks . : 1
Secondary tracks . : 1 Dates
Data set name type : Creation date . . . : 2016/04/16
Referenced date . . : 2016/04/16
Expiration date . . : ***None***
SMS Compressible . : NO
And it is not migrating saying:
ARC1001I N058725.TEST0.CLTRNS1 MIGRATE FAILED, RC=0020, REAS=0036
ARC1220I DATA SET NOT ELIGIBLE FOR MIGRATION
COMMAND REQUEST 00000101 SENT TO DFSMSHSM
***
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Richard Marchant
Sent: 20 April 2016 11:12 AM
To: [email protected]
Subject: Re: Example of ACS Environment of SPMGCLTR
Theo,
When DFHSM does primary space mgmt. it checks if any of the datasets have
management classes that have Class Transition Criteria parameters coded. If the
do and it fits into one of the criterias DFHSM will try and move the dataset
through the ACS routines (SC, MC and Storage Group) with the &ACSENVIR of
SPMGCLTR. Before this can happen the defined thresholds of volumes holding
these datasets must be met.
Richard
073 289 9246
On Wed, Apr 20, 2016 at 9:58 AM, Buckton, T. (Theo)
<[email protected]<mailto:[email protected]>>
wrote:
> Thanks Richard,
>
> I have gone through it, but I just need to understand the coding:
> Where is 'SPMGCLTR' being specified?
>
> Storage Class:
> IF &ACSENVIR = 'SPMGCLTR' THEN
> SELECT (&STORCLAS)
> WHEN ('SSD') SET &STORCLAS = 'EASYTIER'
> WHEN ('EASYTIER') SET &STORCLAS = 'SCSATA'
> OTHERWISE SET &STORCLAS = &STORCLAS
> END
> ELSE ...
>
> Management Class:
> IF &ACSENVIR = 'SPMGCLTR' THEN
> /* SPACE MANAGEMENT CLASS TRANSITION */
> SELECT (&MGMTCLAS)
> WHEN ('NOML2') SET &MGMTCLAS = 'ML2OK'
> WHEN ('DB2NEW') SET &MGMTCLAS = 'DB2AGED'
> OTHERWISE SET &MGMTCLAS = &MGMTCLAS
> END
> ELSE ...
>
> Storage Group:
> IF &ACSENVIR = 'SPMGCLTR' THEN
> SELECT (&STORCLAS)
> WHEN ('EASYTIER') SET &STORGRP = 'EASYTIER'
> WHEN ('SCSATA') SET &STORGRP = 'SGSATA'
> OTHERWISE SET &STORGRP = &STORGRP
> END
> ELSE ...
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]]
> On Behalf Of Richard Marchant
> Sent: 14 April 2016 02:15 PM
> To: [email protected]<mailto:[email protected]>
> Subject: Re: Example of ACS Environment of SPMGCLTR
>
> Theo,
>
> Check out Glen Wilcock's 'What's new in DFHSM' March 2014. This was
> presented at SHARE in Anaheim in 2014. You can google it and download.
>
> There is a section called 'Storage Tiering' which goes into detail
> about SPMGCLTR (not SPGMCLTR) and the &ACSENV with examples.
>
> HTH
>
> Richard Marchant
> Joburg rules
>
> On Wed, Apr 13, 2016 at 5:52 PM, Buckton, T. (Theo)
> <[email protected]<mailto:[email protected]>>
> wrote:
>
> > Hi,
> >
> > Can somebody give me an example of coding for &ACSENV of SPGMCLTR in
> > order to make use of CLASS TRANSITION for space management - moving
> > data from one class of storage to another within ML0.
> > This should be for Storage, Management Class and Storage Group.
> >
> > Regards
> > Theo
> >
> > ********************
> > Nedbank Limited Reg No 1951/000009/06. The following link displays
> > the names of the Nedbank Board of Directors and Company Secretary.
> > [ http://www.nedbank.co.za/terms/DirectorsNedbank.htm ] This email
> > is confidential and is intended for the addressee only.
> > The following link will take you to Nedbank's legal notice.
> > [ http://www.nedbank.co.za/terms/EmailDisclaimer.htm ]
> > ********************
> >
> > --------------------------------------------------------------------
> > -- For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected]<mailto:[email protected]>
> > with the message: INFO
> > IBM-MAIN
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to [email protected]<mailto:[email protected]> with the
> message: INFO IBM-MAIN
>
> ********************
> Nedbank Limited Reg No 1951/000009/06. The following link displays the
> names of the Nedbank Board of Directors and Company Secretary.
> [ http://www.nedbank.co.za/terms/DirectorsNedbank.htm ] This email is
> confidential and is intended for the addressee only.
> The following link will take you to Nedbank's legal notice.
> [ http://www.nedbank.co.za/terms/EmailDisclaimer.htm ]
> ********************
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to [email protected]<mailto:[email protected]> with the
> message: INFO IBM-MAIN
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected]<mailto:[email protected]> with the message:
INFO IBM-MAIN
********************
Nedbank Limited Reg No 1951/000009/06. The following link displays
the names of the Nedbank Board of Directors and Company Secretary.
[ http://www.nedbank.co.za/terms/DirectorsNedbank.htm ]
This email is confidential and is intended for the addressee only.
The following link will take you to Nedbank's legal notice.
[ http://www.nedbank.co.za/terms/EmailDisclaimer.htm ]
********************
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN