The dataset-inventory information is available using IDCAMS/DCOLLECT utility and DFSORT/ICETOOL provides decoder-ring logic to analyze the DCOLLECT output and report on DATACLAS usage (as well as other SMS-construct usage) within your z/OS system, including DFHSM-migrated datasets as well as those non-migrated. Visit / search the IBM.COM DFSORT software/support website for details.
Scott Barry SBBWorks, Inc. On Fri, 2 Aug 2019 15:55:56 -0400, Cameron Conacher <conac...@gmail.com> wrote: >Hello John, >Yes, I need to hit this from both sides. >What DATACLAS do we have in the data library, and what DATACLAS has been >used for files that are already cataloged. >I just need to be sure to cover all of the bases. > >On Thu, Aug 1, 2019 at 12:50 PM John McKown <john.archie.mck...@gmail.com> >wrote: > >> On Thu, Aug 1, 2019 at 8:22 AM Cameron Conacher <conac...@gmail.com> >> wrote: >> >> > Hello to the DFSORT folks. >> > I have a file of data containing extracts from some JCL. >> > Specifically, I am looking for all values of DATACLAS. >> > This all relates back to Pervasive Encryption. I just want a quick report >> > of the DATACLAS values in use today, as well as the counts for each >> > DATACLAS item I find. >> > >> > I ran a quick compare to get a report from our JCL Library, and now I am >> > building a SORT to look at the variable length input file data. >> > I can use 'INCLUDE COND=(5,70,SS,EQ,C'DATACLAS=') to select a subset of >> > records from the original compare report. >> > I could take this file and play with it in ISPF EDIT to pull out the >> eight >> > bytes following 'DATACLAS='. >> > However, I am wondering if I can do this in DFSORT. >> > So, if I have >> > DATACLAS=FRED, >> > I would want to extract and summarize FRED and if I have >> > DATACLAS=POTATO I would want to extract and summarize POTATO >> > I guess the question is how can I extract characters from the input >> records >> > that appear following the SubString match? >> > >> > Thanks >> > >> >> >> Presenting an alternative route: The DATACLASS for a catalogued dataset is >> in the catalog. Maybe you could use some sort of catalog product to scan >> all your catalogs and extract the DSN and DATACLASS. >> >> -- >> A sine curve goes off to infinity, or at least the end of the blackboard. >> -- Prof. Steiner >> >> Maranatha! <>< >> John McKown >> >> ---------------------------------------------------------------------- >> 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN