Malcolm,
Over the weekend I took a look at VMUR.CCP source to insert "FD_ZERO(),
FD_SET() and select()". I thought adding would be trivial.
However, when I took a look at the device driver VMUR.C on the internet, I
found that the OPEN calls diag_read_next_file and if there
are no data(no reader file) it will returns ENODATA(No data). That means when
I open the "/dev/00c" to get the file descriptor it will come back
"NO data" thus no file descriptor for the select(). Also I notice that it does
not allow OPEN in "write" mode as well.
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Malcolm
Beattie
Sent: Wednesday, December 01, 2010 4:47 PM
To: [email protected]
Subject: Re: Question to smsgiucv
Florian Bilek writes:
> I am looking for a possibility using the Virtual Reader under z/VM in
> z/LINUX. The idea is to process files received from a z/OS via RSCS.
> Off course I could regullarily start VMUR to poll the RDR but couldn't that
> be done much smarter with an event starting VMUR ?
I've kept meaning to add select() support or similar to vmur since
I wrote the original but it's never quite made it to the top of my
priority list. It should just be a few lines of code (catch the
unsolicited interrupt and wake any waiters) in the right place.
I'll try to take a look soon if nobody gets in there first.
--Malcolm
--
Malcolm Beattie
Mainframe Systems and Software Business, Europe
IBM UK
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
Please consider the environment before printing this email.
Visit our website at http://www.nyse.com
****************************************************
Note: The information contained in this message and any attachment to it is
privileged, confidential and protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified that
any dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please notify
the sender immediately by replying to the message, and please delete it from
your system. Thank you. NYSE Euronext.
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/