Hi Dave,
the principle is the same for all Linux on Z distros (well, the sudo piece
is typical for Ubuntu ;-)

Enable the corresponding ccw devices:
sudo chzdev -e 0.0.000c-0.0.000e
and you'll get these devices:
ls -l /dev/vm*
crw------- 1 root root  10, 122 Apr 22 08:06 /dev/vmcp
crw------- 1 root root 246,  14 May 20 19:47 /dev/vmprt-0.0.000e
crw------- 1 root root 246,  13 May 20 19:47 /dev/vmpun-0.0.000d
crw------- 1 root root 246,  12 May 20 19:47 /dev/vmrdr-0.0.000c
Check that the vmur is in place:
lsmod | grep vmur
and use it, e.g.
sudo vmur receive 1234
...

I suggest to have a look at the "Device Drivers, Features, and Commands on
Ubuntu Server" guide:
https://www.ibm.com/docs/en/linux-on-systems?topic=commands-ubuntu-server
(hopefully 20.04)
Chapter 38 - z/VM unit record device driver (page 395)
and
vmur - Work with z/VM spool file queues (page 672)

I hope that this is what you wanted ...

Bye, Frank

Ubuntu on s390x Blog -- ubuntu-on-big-iron.blogspot.com
<http://ubuntu-on-big-iron.blogspot.com/?view=sidebar>


On Thu, May 20, 2021 at 9:38 PM Dave Jones <djo...@itconline.com> wrote:

> Hello, all.
> How can I get automatically notified in a z/Linux guest (in this case
> Ubuntu 20.04) when a rdr file arrives for it?
> Many thanks.
> DJ
>
> --
> DAVID JONES | MANAGING DIRECTOR FOR ZSYSTEMS SERVICES | z/VM, Linux, and
> Cloud
> 703.237.7370 (Office) | 281.578.7544 (CELL)
>
> INFORMATION TECHNOLOGY COMPANY
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to