Can I intercept VSAM commands in z/OS?



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

Re: Can I intercept VSAM commands in z/OS?

Postby Balr14 » Fri Oct 29, 2010 10:46 pm

Never mind. I found how to do it. Since VSAM exits are driven after a VSAM operation is performed, it's too late to intercept it. But, if you intercept the ACBs and give VSAM some fakes to play with it works. Of course, this way has it's own challenges with maintaining the ACBs in the correct LE enclave.
Balr14
 
Posts: 41
Joined: Fri Oct 01, 2010 9:43 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Can I intercept VSAM commands in z/OS?

Postby Balr14 » Thu Dec 09, 2010 10:44 pm

As it turns out, I can't intercept VSAM commands, but I can intercept the ACB at open time and redirect the program to my "ACB". The trick is retaining addressability to it if the program does calls that switch LE enclaves.
Balr14
 
Posts: 41
Joined: Fri Oct 01, 2010 9:43 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Can I intercept VSAM commands in z/OS?

Postby dick scherrer » Fri Dec 10, 2010 1:20 am

Thanks for the update :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Previous

Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post