On Sun, 5 Oct 2008, Rob Schramm wrote: > I am looking for the simplest way to intercept/modify an i/o for a VSAM > data set without impacting the application. > > All suggestions are welcome. > > Rob Schramm
What occurs to me is to "hook" OPEN. If the dataset is one that you want to intercept, then put your own I/O routine address into the ACB. That way the VSAM I/O instructions will go to your routine. Another possibility is something like BLSR. Make your own subsystem. Have the step have two DD statements. The one that they OPEN would you the one with your subsystem allocated to it. The other DD would have the actual DSN. When they OPEN your subsystem DD, you open the associated DD. They do I/O which goes to your subsystem. It can then do whatever processing it wants to against the associated DD for whatever request came in from the program. Hope this makes sense. Look at the doc how how BLSR works. -- Q: What do theoretical physicists drink beer from? A: Ein Stein. Maranatha! John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

