>> 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.
Billy, VSAM LDS clusters are NOT supported by DFSORT. However, if your shop has File-Manager, then you use the following the job. //STEP0100 EXEC PGM=FILEMGR //SYSPRINT DD SYSOUT=* //DDIN DD DISP=SHR,DSN=Your.Input.LDS.Cluster //DDOUT DD SYSOUT=* //SYSIN DD * $$FILEM DSC INPUT=DDIN, $$FILEM PROC=* *REXXPROC IF FLD_CO(,,,'MBC$23005X') THEN WRITE(DDOUT) /* Thanks, Kolusu DFSORT Development IBM Corporation ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN