Re: IEFU85 question
In 4ec6429b.9090...@isis-papyrus.com, on 11/18/2011 at 12:33 PM, Miklos Szigetvari miklos.szigetv...@isis-papyrus.com said: Can I use here USS calls ? I doubt that you can use either USS or Unix services in the exit. Unless the documentation says that it is safe, I would expect calls to Unix services to ABEND, risk deadlocks or mix and match. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: IEFU85 question
No. IEFU85 is invoked for cross-memory callers and the caller may well be holding locks. I would guess that very few (if any) z/OS Unix callable services are valid in cross-memory mode and none of them would be valid when caller has locks held. IMHO - it is never wise to do anything clever in IEFU83/84/85 - just save the SMF data that you are interested in a queue or list somewhere where a server subtask can pick it up asynchronously. Rob Scott Lead Developer Rocket Software 275 Grove Street * Newton, MA 02466-2272 * USA Tel: +1.617.614.2305 Email: rsc...@rs.com Web: www.rocketsoftware.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Miklos Szigetvari Sent: 18 November 2011 11:34 To: IBM-MAIN@bama.ua.edu Subject: IEFU85 question Hi I would need the IEFU85 exit , to get control during the write of 92 (USS File Activity) records. Can I use here USS calls ? Would like to send the record to an IPC message queue. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: IEFU85 question
Personally, I wouldn't even try, even if possible (which I doubt). I'd use the IEFU8x exits to copy the information into a global dataspace (or ECSA area, but I prefer a global dataspace for VSCR reasons). The exit would post an ECB in ECSA. This would wake up a started task (aka daemon) which would process the data. That's a very high level overview. IIRC, it is similar to how CA does tracking with CA-ICOM and CA-7. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Miklos Szigetvari Sent: Friday, November 18, 2011 5:34 AM To: IBM-MAIN@bama.ua.edu Subject: IEFU85 question Hi I would need the IEFU85 exit , to get control during the write of 92 (USS File Activity) records. Can I use here USS calls ? Would like to send the record to an IPC message queue. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: IEFU85 question
Hi Thank you. I wanted to avoid the extra server, but seems to me I can't. I wanted to get informed if a file in some USS path has changed . Funny, the w_ioctl (BPX1OC) also using IPC message queues to notify at file change, but here not very clear how can I find out which file has changed. The application would be an USS server , reading some IPC message queues. On 11/18/2011 1:47 PM, Rob Scott wrote: No. IEFU85 is invoked for cross-memory callers and the caller may well be holding locks. I would guess that very few (if any) z/OS Unix callable services are valid in cross-memory mode and none of them would be valid when caller has locks held. IMHO - it is never wise to do anything clever in IEFU83/84/85 - just save the SMF data that you are interested in a queue or list somewhere where a server subtask can pick it up asynchronously. Rob Scott Lead Developer Rocket Software 275 Grove Street * Newton, MA 02466-2272 * USA Tel: +1.617.614.2305 Email: rsc...@rs.com Web: www.rocketsoftware.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Miklos Szigetvari Sent: 18 November 2011 11:34 To: IBM-MAIN@bama.ua.edu Subject: IEFU85 question Hi I would need the IEFU85 exit , to get control during the write of 92 (USS File Activity) records. Can I use here USS calls ? Would like to send the record to an IPC message queue. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: IEFU85 question
z/OS UNIX needs to implement Linux's inotify interface. And port incron. Makes monitoring filesystem changes quite easy. John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Miklos Szigetvari Sent: Friday, November 18, 2011 8:26 AM To: IBM-MAIN@bama.ua.edu Subject: Re: IEFU85 question Hi Thank you. I wanted to avoid the extra server, but seems to me I can't. I wanted to get informed if a file in some USS path has changed . Funny, the w_ioctl (BPX1OC) also using IPC message queues to notify at file change, but here not very clear how can I find out which file has changed. The application would be an USS server , reading some IPC message queues. On 11/18/2011 1:47 PM, Rob Scott wrote: No. IEFU85 is invoked for cross-memory callers and the caller may well be holding locks. I would guess that very few (if any) z/OS Unix callable services are valid in cross-memory mode and none of them would be valid when caller has locks held. IMHO - it is never wise to do anything clever in IEFU83/84/85 - just save the SMF data that you are interested in a queue or list somewhere where a server subtask can pick it up asynchronously. Rob Scott Lead Developer Rocket Software 275 Grove Street * Newton, MA 02466-2272 * USA Tel: +1.617.614.2305 Email: rsc...@rs.com Web: www.rocketsoftware.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Miklos Szigetvari Sent: 18 November 2011 11:34 To: IBM-MAIN@bama.ua.edu Subject: IEFU85 question Hi I would need the IEFU85 exit , to get control during the write of 92 (USS File Activity) records. Can I use here USS calls ? Would like to send the record to an IPC message queue. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: IEFU85 question
On 11/18/2011 3:58 PM, McKown, John wrote: z/OS UNIX needs to implement Linux's inotify interface. And port incron. Makes monitoring filesystem changes quite easy. Hi I think this w_ioctl goes in this direction, but not clear how to achieve file system change notifications. John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Miklos Szigetvari Sent: Friday, November 18, 2011 8:26 AM To: IBM-MAIN@bama.ua.edu Subject: Re: IEFU85 question Hi Thank you. I wanted to avoid the extra server, but seems to me I can't. I wanted to get informed if a file in some USS path has changed . Funny, the w_ioctl (BPX1OC) also using IPC message queues to notify at file change, but here not very clear how can I find out which file has changed. The application would be an USS server , reading some IPC message queues. On 11/18/2011 1:47 PM, Rob Scott wrote: No. IEFU85 is invoked for cross-memory callers and the caller may well be holding locks. I would guess that very few (if any) z/OS Unix callable services are valid in cross-memory mode and none of them would be valid when caller has locks held. IMHO - it is never wise to do anything clever in IEFU83/84/85 - just save the SMF data that you are interested in a queue or list somewhere where a server subtask can pick it up asynchronously. Rob Scott Lead Developer Rocket Software 275 Grove Street * Newton, MA 02466-2272 * USA Tel: +1.617.614.2305 Email: rsc...@rs.com Web: www.rocketsoftware.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Miklos Szigetvari Sent: 18 November 2011 11:34 To: IBM-MAIN@bama.ua.edu Subject: IEFU85 question Hi I would need the IEFU85 exit , to get control during the write of 92 (USS File Activity) records. Can I use here USS calls ? Would like to send the record to an IPC message queue. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html