> On 13 Sep 2023, at 12:39 am, Seymour J Metz <[email protected]> wrote: > > You could use windowing.Look at CSRIDAC if you don't want to use assembler. >
That’s an excellent suggestion even if you are using assembler. The interface is much simpler. > ________________________________________ > From: IBM Mainframe Discussion List <[email protected]> on behalf of > Billy Ashton <[email protected]> > Sent: Tuesday, September 12, 2023 11:19 AM > To: [email protected] > Subject: Scan a VSAM LDS? > > Hey everyone! > I was wondering if there is a way to scan a VSAM LDS for string > occurrences? I know that there is no way to see the individual records, > but it could be helpful if I could at least dump the data block where > the string was found. > > As an example, something like this: > OPTION COPY > RECORD TYPE=V > INCLUDE COND=(5,24576,SS,EQ,C'MBC$23005X') > > (I don't know if I need special statements for VSAM LDS...I couldn't > find any indication in the docs.) > > Thank you and best regards, > Billy Ashton > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
