You could use windowing.Look at CSRIDAC if you don't want to use assembler.

________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Billy Ashton <bill00ash...@gmail.com>
Sent: Tuesday, September 12, 2023 11:19 AM
To: IBM-MAIN@LISTSERV.UA.EDU
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 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

Reply via email to