> I am looking for a way to prevent users calling certain load modules > directly. Instead I would like my module to get control. This module can > then perform certain tasks before passing control to the user requested > processing module.
Ah "the hook". This question is as old as the operating system itself and there are literally zillions of ways of doing it. If you're looking for a reliable and consistent way of doing it... forget it. Charles Mills' idea of using an alias is probably the best if you have access to the libraries in question. Otherwise your options go way down. CC ---------------------------------------------------------------------- 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

