Re: Is there a way to get all dsnames of a given sms mgmtclas, regardless if some are hsm-migrated?
Thanks for the tip Lizetteyour suggestion does indeed show all data I was hoping for. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Is there a way to get all dsnames of a given sms mgmtclas, regardless if some are hsm-migrated?
Good point...thanks Scott -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Is there a way to get all dsnames of a given sms mgmtclas, regardless if some are hsm-migrated?
On Sat, 16 Mar 2013 11:18:28 -0500, Michael Bieganski wrote: >Using dcollect, or some other method, >Is it possible to get list of all dsnames with a mgmtclas "xyz" even if >some of the dsns are hsm-migrated ml1 or ml2? >I coded this dcollect jcl: >DCOLLECT - > OUTFILE(DCOUT) - > VOLUMES( - > * - > ) - > MIGRATEDATA - > CAPPLANDATA - > SMSDATA(SCDSNAME(ACTIVE)) - >And included the mcds mcds2 bcds bcds2 ddcards in the above jcl; >I then ran a report against the resulting data with >(203,30,CH,EQ,C'CIMSSMS')) to find all dsnames >that belong to the acs-mgmtclas "cimssms", and it looks like it returned >only the dsnames that were not hsm migrated��but, I'd like to be able to >get a complete list of ALL dsnames that have mgmtclas cimssms,regardless of >whether they are on dasd, or ML1 or ML2. I had hoped that MIGRATEDATA >would have provided this, but >unless I have balky jcl coding, it appears not. >(If there is a method, the I'd expect same would be good for storclas etc >as well) > >thanks Check your DCOLLECT data (different record types) layout - likely the MGMTCLAS field is not always in the same offset / location. Also, DFSORT has support to decode the various DCOLLECT record-formats - check the DFSORT support website at IBM.COM. Scott Barry SBBWorks, Inc. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Is there a way to get all dsnames of a given sms mgmtclas, regardless if some are hsm-migrated?
ISMF Option 2 (Datasetss) has several filter panels (page down function) and you can key on anything you like there including MGTCLASS, DATACLAS, etc.. If you need batch and you have SMS/MXG it can be done in the DATASETS or DCOLDSET Lizette > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf > Of Michael Bieganski > Sent: Saturday, March 16, 2013 9:18 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Is there a way to get all dsnames of a given sms mgmtclas, regardless if > some are hsm-migrated? > > Using dcollect, or some other method, > Is it possible to get list of all dsnames with a mgmtclas "xyz" even if some of the dsns > are hsm-migrated ml1 or ml2? > I coded this dcollect jcl: > DCOLLECT - > OUTFILE(DCOUT) - > VOLUMES( - > * - >) - > MIGRATEDATA - > CAPPLANDATA - > SMSDATA(SCDSNAME(ACTIVE)) - > And included the mcds mcds2 bcds bcds2 ddcards in the above jcl; I then ran a report > against the resulting data with > (203,30,CH,EQ,C'CIMSSMS')) to find all dsnames that belong to the acs-mgmtclas > "cimssms", and it looks like it returned only the dsnames that were not hsm > migrated..but, I'd like to be able to get a complete list of ALL dsnames that have > mgmtclas cimssms,regardless of whether they are on dasd, or ML1 or ML2. I had > hoped that MIGRATEDATA would have provided this, but unless I have balky jcl coding, > it appears not. > (If there is a method, the I'd expect same would be good for storclas etc as well) > > thanks > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN