MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Exit tracking file open

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
gabor.hoffer
Beginner


Joined: 21 Apr 2005
Posts: 8
Topics: 2

PostPosted: Thu Apr 21, 2005 7:43 am    Post subject: Exit tracking file open Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Apr 21, 2005 10:00 am    Post subject: Reply with quote

Gabor,

Check this link

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2C711/2.6?DT=20020318130945

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gabor.hoffer
Beginner


Joined: 21 Apr 2005
Posts: 8
Topics: 2

PostPosted: Fri Apr 22, 2005 3:15 am    Post subject: Reply with quote

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
View user's profile Send private message
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Fri Apr 22, 2005 4:59 am    Post subject: Reply with quote

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
View user's profile Send private message
gabor.hoffer
Beginner


Joined: 21 Apr 2005
Posts: 8
Topics: 2

PostPosted: Mon Apr 25, 2005 12:15 am    Post subject: Reply with quote

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. Sad Formerly I thougth that IEFDB401 covers all dataset alloc/dealloc, but I was wrong, it's only for dynamic alloc and dealloc. Sad
Back to top
View user's profile Send private message
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Mon Apr 25, 2005 5:09 am    Post subject: Reply with quote

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
View user's profile Send private message
gabor.hoffer
Beginner


Joined: 21 Apr 2005
Posts: 8
Topics: 2

PostPosted: Mon Apr 25, 2005 11:12 am    Post subject: Reply with quote

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
View user's profile Send private message
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Tue Apr 26, 2005 2:15 am    Post subject: Reply with quote

Times dates etc are available in SMF 14/15
Back to top
View user's profile Send private message
gabor.hoffer
Beginner


Joined: 21 Apr 2005
Posts: 8
Topics: 2

PostPosted: Tue Apr 26, 2005 8:48 am    Post subject: Reply with quote

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
View user's profile Send private message
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Tue Apr 26, 2005 9:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group