View previous topic :: View next topic |
Author |
Message |
gabor.hoffer Beginner
Joined: 21 Apr 2005 Posts: 8 Topics: 2
|
Posted: Thu Apr 21, 2005 7:43 am Post subject: Exit tracking file open |
|
|
Hello,
I'm working on a program that collects all open/close event occurs in system. With IEFU83 Exit I can catche SMF records typ 14, 15, 62, 64, what cover non-VSAM close or EOV and VSAM open and close. I don't have any idea, how to catche non-VSAM open.
There is an SMS Exit called 'IFG0EX0B' /DCB Open Installation Exit/, but I don't know how to install it. Has anybody experience. And what important is, how to install it.
Thanks,
Gabor |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
gabor.hoffer Beginner
Joined: 21 Apr 2005 Posts: 8 Topics: 2
|
Posted: Fri Apr 22, 2005 3:15 am Post subject: |
|
|
Thanks for your fast answer.
Can you send me an example, how i can install the exit?
I read the manual, but it |
|
Back to top |
|
 |
nevilh Beginner
Joined: 11 Aug 2004 Posts: 115 Topics: 0
|
Posted: Fri Apr 22, 2005 4:59 am Post subject: |
|
|
IFG0EX0B runs in supervisor state and key 0 and is part of module IGC0001I in the LPALIB . If it is to be changed the modification should be installed using SMPE otherwise the next time maintenance is applied to the system you stand a good chance of losing your changes . If you change the module and make a mistake there is a good chance your system will no longer function correctly. I don't know what you are trying to do but I would be surpised if you require this exit just to process a few smf open records |
|
Back to top |
|
 |
gabor.hoffer Beginner
Joined: 21 Apr 2005 Posts: 8 Topics: 2
|
Posted: Mon Apr 25, 2005 12:15 am Post subject: |
|
|
I was wrong. IFG0EX0B is not an SMF Exit, but a dfSMS Exit.
I have to write a "monitor" program that cacthe all open and close action in system. With IEFU83 SMF Write Exit I can get all the records from close action (SMF TYPE 14, SMF TYPE 15) on non-VSAM datasets and open/close actions (SMF TYPE 62, SMF TYPE 64) on VSAM datasets. I don't know how to cover non-VSAM open.
Any help would be appreciated.
Regards,
Gabor
ps: till end of may I have to be ready with this program and I have no any idea how to solve this problem. Formerly I thougth that IEFDB401 covers all dataset alloc/dealloc, but I was wrong, it's only for dynamic alloc and dealloc.  |
|
Back to top |
|
 |
nevilh Beginner
Joined: 11 Aug 2004 Posts: 115 Topics: 0
|
Posted: Mon Apr 25, 2005 5:09 am Post subject: |
|
|
SMF 14/15 are OPEN/CLOSE records they are written at close time but contain information about open as well. If the information you require is not there then you may be on to a loser |
|
Back to top |
|
 |
gabor.hoffer Beginner
Joined: 21 Apr 2005 Posts: 8 Topics: 2
|
Posted: Mon Apr 25, 2005 11:12 am Post subject: |
|
|
I don't need too mutch info about the open and close (dsname, jobname, ddname, ...), but the event when it occours is more important. |
|
Back to top |
|
 |
nevilh Beginner
Joined: 11 Aug 2004 Posts: 115 Topics: 0
|
Posted: Tue Apr 26, 2005 2:15 am Post subject: |
|
|
Times dates etc are available in SMF 14/15 |
|
Back to top |
|
 |
gabor.hoffer Beginner
Joined: 21 Apr 2005 Posts: 8 Topics: 2
|
Posted: Tue Apr 26, 2005 8:48 am Post subject: |
|
|
My english is very poor and maybe it was misleading. What I need is not the event time, but the event itself. If open occours I have to react to it and send an ECB to a program that waiting for that. |
|
Back to top |
|
 |
nevilh Beginner
Joined: 11 Aug 2004 Posts: 115 Topics: 0
|
Posted: Tue Apr 26, 2005 9:38 am Post subject: |
|
|
Hi; Sorry at last it has dawned on me what you want to do. I don't believe you will be able to achieve what you want just by using IEFU83 . Iefu83 will allow you to trap the VSAM Open/close but not the non-vsam.
I have double checked IFG0EX0B and IBM deliver a dummy module out by default. If you were to modify this exit you should have all the information that you require available and you should be able to kick of some other processing. My concern would be that this processing would carried out whenever open processing is carried out, this seems like a lot of extra overhead on the system. |
|
Back to top |
|
 |
|
|