Hi,
As per your Advise I did :
CT3MGMCL
SELECT
WHEN (&HLQ = &SYSTEM)
DO
SET &MGMTCLAS = 'SYSTEM'
EXIT
END
WHEN (&DSN = &DCATL)
DO
SET &MGMTCLAS = 'DCATL'
EXIT
END
OTHERWISE SET &MGMTCLAS = 'STANDARD'
END
END
Then I did ,translation,validation and activation but still the dataset is
getting allocated using management class STANDARD.
More: +
Data Set Name . . . . :
DSN101C.DSN1.ARC1.LOG1
General Data Current
Allocation
Management class . . : STANDARD Allocated cylinders :
5
Storage class . . . : DB2ARCH Allocated extents . :
1
Volume serial . . . :
DB2AR1
Device type . . . . :
3390
Data class . . . . . :
DB2EXT
Organization . . . : PS Current
Utilization
Record format . . . : FB Used cylinders . . :
0
Record length . . . : 80 Used extents . . . :
0
Block size . . . . :
27920
1st extent cylinders:
5
Secondary cylinders : 5
Dates
Data set name type : EXTENDED Creation date . . . :
2011/11/07
SMS Compressible. . : NO Referenced date . . :
***None***
Expiration date . . :
***None***
Regards,
Jags
On Mon, Nov 7, 2011 at 11:36 AM, Brian Fraser <[email protected]>wrote:
> WHEN (&HLQ = &DCATL)
>
> Should be:
>
> WHEN (&DSN = &DCATL)
>
> On Mon, Nov 7, 2011 at 1:36 PM, jagadishan perumal
> <[email protected]> wrote:
> > Hi,
> >
> > Below is the defintion for my managEment class DCATL
> >
> > Backup Copy Technique
> > MANAGEMENT CLASS DISPLAY Page 1
> > of 5
> >
> >
> > CDS Name . . . . . . . :
> > SYS1.DFSMS.SCDS
> > Management Class Name . :
> > DCATL
> >
> >
> > Description
> > :
> >
> >
> >
> >
> >
> >
> > Expiration
> > Attributes
> >
> >
> > Expire after Days Non-usage . :
> > 30
> > Expire after Date/Days . . . . :
> > 30
> > Retention Limit . . . . . . . :
> > 30
> >
> >
> > MANAGEMENT CLASS DISPLAY Page 2
> > of 5
> >
> >
> > CDS Name . . . . . . . . . :
> > SYS1.DFSMS.SCDS
> > Management Class Name . . . :
> > DCATL
> >
> >
> > Partial Release . . . . . . :
> > NO
> >
> >
> >
> >
> > Migration
> > Attributes
> > Primary Days Non-usage . :
> > 2
> > Level 1 Days Date/Days . :
> > 60
> > Command or Auto Migrate . :
> > BOTH
> >
> >
> >
> >
> > GDG Management
> > Attributes
> > # GDG Elements on Primary
> > :
> > Rolled-off GDS Action . .
> > :
> >
> >
> > MANAGEMENT CLASS DISPLAY Page 3
> of
> > 5
> >
> >
> > CDS Name . . . . . . :
> > SYS1.DFSMS.SCDS
> > Management Class Name :
> > DCATL
> >
> >
> > Backup
> > Attributes
> > Backup frequency . . . . . . . . . . . :
> > 1
> > Number of backup versions . . . . . . . :
> > 2
> > (Data Set
> > Exists)
> > Number of backup versions . . . . . . . :
> > 1
> > (Data Set
> > Deleted)
> > Retain days only backup version . . . . :
> > 60
> > (Data Set
> > Deleted)
> > Retain days extra backup versions . . . :
> > 30
> >
> >
> > Admin or User Command Backup . . . . . :
> > BOTH
> > Auto Backup . . . . . . . . . . . . . . :
> > YES
> > Backup copy technique . . . . . . . . . :
> > STANDARD
> > MANAGEMENT CLASS DISPLAY Page 4
> > of 5
> >
> >
> > CDS Name . . . . . . . . . . :
> > SYS1.DFSMS.SCDS
> > Management Class Name . . . :
> > DCATL
> > CDS Name . . . . . . . :
> > SYS1.DFSMS.SCDS
> > Management Class Name . :
> > DCATL
> >
> >
> > Description
> > :
> >
> >
> >
> >
> >
> >
> > Expiration
> > Attributes
> >
> >
> > Expire after Days Non-usage . :
> > 30
> > Expire after Date/Days . . . . :
> > 30
> > Retention Limit . . . . . . . :
> > 30
> >
> >
> > Migration
> > Attributes
> > Primary Days Non-usage . :
> > 2
> > Level 1 Days Date/Days . :
> > 60
> > Command or Auto Migrate . :
> > BOTH
> >
> >
> >
> >
> > GDG Management
> > Attributes
> > # GDG Elements on Primary
> > :
> > Rolled-off GDS Action . .
> > :
> >
> >
> > Backup Attributes
> > Backup frequency . . . . . . . . . . . : 1
> > Number of backup versions . . . . . . . : 2
> > (Data Set Exists)
> > Number of backup versions . . . . . . . : 1
> > (Data Set Deleted)
> > Retain days only backup version . . . . : 60
> > (Data Set Deleted)
> > Retain days extra backup versions . . . : 30
> >
> > Admin or User Command Backup . . . . . : BOTH
> > Auto Backup . . . . . . . . . . . . . . : YES
> > Backup copy technique . . . . . . . . . : STANDARD
> > Object Class Transition
> > Criteria
> > Time Since Creation Years
> > :
> > Months
> > :
> > Days .
> > :
> >
> >
> > Time Since Last use Years
> > :
> > Months
> > :
> > Days .
> > :
> >
> > Periodic
> >
> > Monthly on Day . . . .
> > :
> > Quarterly on Day . . . .
> > :
> > in Month . . .
> > :
> > Yearly on Day . . . .
> > :
> > in Month . . .
> > :
> >
> > AGGREGATE Backup Attributes:
> >
> > # Versions . . . . . . :
> > Retain only Version . . :
> > Unit . . . . . . . . :
> > Retain extra Version . :
> > Unit . . . . . . . . :
> > Copy Serialization . . :
> > ABackup Copy Technique : STANDARD
> >
> >
> > On Mon, Nov 7, 2011 at 10:38 AM, jagadishan perumal
> > <[email protected]>wrote:
> >
> >> Hi,
> >>
> >> I have written a Managment class ACS routine for a Db2 archive logs :
> >> 'DSN101C.DSN1.ARC*.**'. Below is my Managment Class Script :
> >>
> >> 'DSN101C.DSN1.ARC*.**'
> >> PROC 1 MGMTCLAS
> >> /*********************************************************************/
> >> /* ACS ROUTINE TO SELECT MANAGEMENT CLASS */
> >> /*********************************************************************/
> >>
> >> /*********************************************************************/
> >> /* SYSTEM HFS AND PDSE */
> >> /*********************************************************************/
> >> FILTLIST SYSTEM INCLUDE('OMVS')
> >> FILTLIST DCATL INCLUDE('DSN101C.DSN1.ARC*.**')
> >>
> >> /*********************************************************************/
> >> /* SELECT APPROPRIATE MANAGEMENT CLASS. */
> >> /*********************************************************************/
> >>
> >> SELECT
> >> WHEN (&HLQ = &SYSTEM)
> >> DO
> >> SET &MGMTCLAS = 'SYSTEM'
> >> EXIT
> >> END
> >> WHEN (&HLQ = &DCATL)
> >> DO
> >> SET &MGMTCLAS = 'DCATL'
> >> EXIT
> >> END
> >> OTHERWISE SET &MGMTCLAS = 'STANDARD'
> >> END
> >>
> >> END
> >>
> >> After the above , I did a translation, validation using ISMF option 7
> and
> >> a SCDS activation using ISMF option 8. A new configuration was
> activated.
> >>
> >> After the above I tried creating a Dataset as " DSN101C.DSN1.ARC1.LOG"
> but
> >> I could'nt see an expiration date set for this Dataset though my
> managment
> >> class script went fine.
> >>
> >> Data Set Name . . . . :
> >> DSN101C.DSN1.ARC1.LOG1
> >>
> >>
> >> General Data Current
> >> Allocation
> >> Management class . . : STANDARD Allocated tracks . :
> >> 5
> >> Storage class . . . : DB2ARCH Allocated extents . :
> >> 1
> >> Volume serial . . . :
> >> DB2AR2
> >> Device type . . . . :
> >> 3390
> >> Data class . . . . . :
> >> DB2EXT
> >> Organization . . . : PS Current
> >> Utilization
> >> Record format . . . : FB Used tracks . . . . :
> >> 0
> >> Record length . . . : 80 Used extents . . . :
> >> 0
> >> Block size . . . . :
> >> 27920
> >> 1st extent tracks . :
> >> 5
> >> Secondary tracks . : 5
> >> Dates
> >> Data set name type : EXTENDED Creation date . . . :
> >> 2011/11/07
> >> SMS Compressible. . : NO Referenced date . . :
> >> ***None***
> >> Expiration date
> . .
> >> : ***None***
> >> Even the new activated Managment class DCATL is not picking up during
> the
> >> dataset allocation. Please direct me if I my procedure is wrong.
> >>
> >> Regards,
> >> Jags
> >>
> >>
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: GET IBM-MAIN INFO
> > Search the archives at http://bama.ua.edu/archives/ibm-main.html
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html