Use a cms wakeup machine running vmutil that receives a reader file. When the reader pops wakeup sends a smsg to the Linux machine and transfers the file. Linux has a smsg interface to trap the smsg Stick the rdr file Information in the smsg I have the smsg Linux driver running to receive alerts from perfsvm and log them A modern shop would look into IBM’s vm manager suite David ________________________________ From: Linux on 390 Port <[email protected]> on behalf of Alan Altmark <[email protected]> Sent: Wednesday, August 31, 2022 5:35:19 PM To: [email protected] <[email protected]> Subject: Re: Can zLinux detect when files arrive in the virtual reader?
When a traditional channel-attached device transitions from not-ready to ready, an unsolicited DEVICE END I/O interrupt is raised. (UE indicates EOF on the reader.) Similar for tape and 3270s. But I don't think Linux generates a UDEV event for unsolicited DE. Regards, Alan Alan Altmark Senior Managing z/VM Consultant IBM Technology Services 1 607 321 7556 (Mobile) [email protected] > -----Original Message----- > From: Linux on 390 Port <[email protected]> On Behalf Of Donald > Russell > Sent: Wednesday, August 31, 2022 4:47 PM > To: [email protected] > Subject: [EXTERNAL] [LINUX-390] Can zLinux detect when files arrive in the > virtual reader? > > Short of having some Linux script querying the virtual reader, is there a way > Linux can detect when a file arrives and invoke a script? > > Sort of like incrond for file system events. > > The idea is from cms I could send a file to the Linux virtual reader and then > Linux would process with vmur commands. > > How does CMS WAKE-UP do it? I assume when a. We file arrives there’s a. > Unsolicited DE (Ready) interrupt that Linux currently ignores. > > Can I configure something with udev rules? > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, send email to > [email protected] with the message: INFO LINUX-390 or visit > INVALID URI REMOVED > 3A__www2.marist.edu_htbin_wlvindex-3FLINUX- > 2D390&d=DwIFaQ&c=jf_iaSHvJObTbx- > siA1ZOg&r=XX3LPhXj6Fv4hkzdpbonTd1gcy88ea- > vqLQGEWWoD4M&m=yfZu_IVFpMC3E1syXVH5fyaqAsV_RbjB5FnDqLIpdMKDq > _zoqtcxyxvWOOAIZvDS&s=IYKKf- > wBqPmHhPD1mHR26UFjpdbY8ZmSBTKb6A28hvc&e= ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www2.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www2.marist.edu/htbin/wlvindex?LINUX-390
