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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN