Re: Extract next eight character positions after SubString Match

2019-08-03 Thread Scott Barry
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 tho

Re: Extract next eight character positions after SubString Match

2019-08-02 Thread Cameron Conacher
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 wrote: > On Thu, Aug 1, 2019 at 8

Re: Extract next eight character positions after SubString Match

2019-08-01 Thread John McKown
On Thu, Aug 1, 2019 at 8:22 AM Cameron Conacher 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 val

Re: Extract next eight character positions after SubString Match

2019-08-01 Thread Sri h Kolusu
> Given that the OP said this was JCL, the DATACLAS= could be terminated with > a BLANK or a COMMA. So I think he needs three ENDBEFR= statements testing > for C' ' C',' and C')' Thanks John. I missed that. Cameron, Here are the updated control cards //SYSINDD * INCLUDE COND=(5,70,SS,EQ

Re: Extract next eight character positions after SubString Match

2019-08-01 Thread John McKown
On Thu, Aug 1, 2019 at 11:17 AM Sri h Kolusu wrote: > > Here is what I ended up with using (retyped from my ISPF screen) . > > Cameron, > > You can optimize your control cards, You can have multiple STARTAFT and > ENDBEFR parms on PARSE. > > Use the following Control cards which will give you

Re: Extract next eight character positions after SubString Match

2019-08-01 Thread Sri h Kolusu
> Here is what I ended up with using (retyped from my ISPF screen) . Cameron, You can optimize your control cards, You can have multiple STARTAFT and ENDBEFR parms on PARSE. Use the following Control cards which will give you the desired results //SYSINDD * OPTION VLSCMP INCLUDE CON

Re: Extract next eight character positions after SubString Match

2019-08-01 Thread Cameron Conacher
Oh very nice. I like the report!! Just never thought about it. Amazing. Thank you! On Thu, Aug 1, 2019 at 11:26 AM Sri h Kolusu wrote: > > I would want to extract and summarize FRED and if I have > >DATACLAS=POTATO I would want to extract and summarize POTATO > > > Cameron Conacher, >

Re: Extract next eight character positions after SubString Match

2019-08-01 Thread Cameron Conacher
Thanks everyone, I found that sometime I see DATACLAS=value and sometimes I would see DATACLAS(value) so I made a couple of changes to allow VB input and FB output, as well as choosing the DATACLAS format. Here is what I ended up with using (retyped from my ISPF screen) . OPTION VLSCMP RECORD

Re: Extract next eight character positions after SubString Match

2019-08-01 Thread Sri h Kolusu
> I would want to extract and summarize FRED and if I have >DATACLAS=POTATO I would want to extract and summarize POTATO Cameron Conacher, Use the following DFSORT JCL which will give you the desired results. I coded the JCL to handle if your input is VB or FB based on the INCLUDE cond y

Re: Extract next eight character positions after SubString Match

2019-08-01 Thread John McKown
On Thu, Aug 1, 2019 at 8:43 AM John McKown wrote: > On Thu, Aug 1, 2019 at 8:22 AM Cameron Conacher > 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

Re: Extract next eight character positions after SubString Match

2019-08-01 Thread John McKown
On Thu, Aug 1, 2019 at 8:22 AM Cameron Conacher 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 val

Extract next eight character positions after SubString Match

2019-08-01 Thread Cameron Conacher
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 fi