Re: Can zLinux detect when files arrive in the virtual reader?

2023-05-10 Thread Tore Agblad
. You still have the 3270 interface to protect. Nowadays you might need that. BR /Tore -Original Message- From: Linux on 390 Port On Behalf Of Alan Altmark Sent: Sunday, September 4, 2022 5:20 To: LINUX-390@VM.MARIST.EDU Subject: Re: Can zLinux detect when files arrive in the virtual

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-03 Thread Donald Russell
en a terminal would generate an unsolicited DE > >> when you turned it on; that’s how the OS knew it was ok to write a logo > to > >> it. (I guess the human was the removable media!) > >> > >> This is not to be confused with changes in I/O configuration where >

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-03 Thread Alan Altmark
> whole different kettle of fish. >> >> Regards, >> Alan >> >> Alan Altmark >> Senior Managing z/VM Consultant >> IBM Technology Services >> 1 607 321 7556 (Mobile) >> alan_altm...@us.ibm.com >> >> From: WF Konynenberg >>

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-03 Thread Donald Russell
vices > 1 607 321 7556 (Mobile) > alan_altm...@us.ibm.com > > From: WF Konynenberg > Sent: Thursday, September 1, 2022 10:10 AM > To: Linux on 390 Port ; Alan Altmark < > alan_altm...@us.ibm.com>; LINUX-390@VM.MARIST.EDU > Subject: [EXTERNAL] Re: Can zLinux detect whe

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-02 Thread Alan Altmark
It is used for MVS and VSE guests that are looking for job "start" and "end" tags (e.g. // JOB or /*), enabling multiple jobs to be stacked in the hopper. CONT suppresses EOF until all eligible spool files are consumed. Regards, Alan Alan Altmark Senior Managing z/VM Consultant IBM

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-02 Thread Clovis Pereira
; LINUX-390@VM.MARIST.EDU Subject: [EXTERNAL] Re: Can zLinux detect when files arrive in the virtual reader? I would be inclined to suggest that use of udev for user I would be inclined to suggest that use of udev for user functionality like this likely constitutes abuse of the udev design. It might

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-02 Thread Alan Altmark
Subject: [EXTERNAL] Re: Can zLinux detect when files arrive in the virtual reader? I would be inclined to suggest that use of udev for user I would be inclined to suggest that use of udev for user functionality like this likely constitutes abuse of the udev design. It might be better to find

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-02 Thread Neale Ferguson
When files arrive an action routine can be triggered to process the incoming files. We've used it to transform SYSPRINT files from z/OS and convert them to PDFs and archive them. The reverse is also true: you can submit jobs to z/OS, z/VSE, or even CMSBATCH. Neale Ferguson On 9/2/22, 16:26,

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-02 Thread Timothy Sipples
Would a NJE deployment on/with Linux — Sine Nomine's NJE/IP as a notable example — be relevant here? — — — — — Timothy Sipples Senior Architect Digital Assets, Industry Solutions, and Cybersecurity IBM zSystems/LinuxONE, Asia-Pacific sipp...@sg.ibm.com

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-01 Thread Donald Russell
Thank you Mark. VM CP presents the interrupt to Linux, why should Linux then ignore it? I’m not a kernel internals guy but my view is Linux should propagate any unsolicited interrupt like this so an application can have the opportunity to act on it. If a system wants to use cio_ignore to ignore

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-01 Thread Paul Flint
Greetings Beloved Mainframers, Could I suggest "netcat" ? https://ps.uci.edu/~franklin/doc/netcat.html It is well thought out. Regards, Flint On Thu, Sep 1, 2022 at 2:41 AM Donald Russell wrote: > Thanks Jeffery. Yes that would work but I’m trying to avoid polling loops, > or a cron thing

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-01 Thread Alan Altmark
The first place to start for Linux documentation is in the distro-specific Device Driver, Feature, and Command Reference. You will find there an example of using an SMSG to run a vmur command, along with the discussions about security.

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-01 Thread Dave Jones
gt; A modern shop would look into IBM's vm manager suite > David > > From: Linux on 390 Port on behalf of Alan > Altmark > Sent: Wednesday, August 31, 2022 5:35:19 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: Can zLinux detect when files arrive in the virtual reader?

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-01 Thread Donald Russell
; A modern shop would look into IBM’s vm manager suite > David > > From: Linux on 390 Port on behalf of Alan > Altmark > Sent: Wednesday, August 31, 2022 5:35:19 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: Can zLinux detect when fi

Re: Can zLinux detect when files arrive in the virtual reader?

2022-09-01 Thread Donald Russell
Thanks Jeffery. Yes that would work but I’m trying to avoid polling loops, or a cron thing that checks every minute or so. On Wed, Aug 31, 2022 at 14:48 Jeffrey Barnard wrote: > Could you use the vm command interface to issue an Q F every x seconds. > > q f > FILES: 109 RDR, 028 PRT,

Re: Can zLinux detect when files arrive in the virtual reader?

2022-08-31 Thread Neale Ferguson
If you don't mind polling or there being a delay then you could run a script like this: # Poll every 30 seconds RDRS=`vmur list | grep ` while [ -z "${RDRS}" ] do sleep 30s RDRS=`vmur list | grep ` done RDR=($RDRS) # ${RDR[n]} contains the results - you could then extract ids

Re: Can zLinux detect when files arrive in the virtual reader?

2022-08-31 Thread David Kreuter
from perfsvm and log them A modern shop would look into IBM’s vm manager suite David From: Linux on 390 Port on behalf of Alan Altmark Sent: Wednesday, August 31, 2022 5:35:19 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Can zLinux detect when files arrive

Re: Can zLinux detect when files arrive in the virtual reader?

2022-08-31 Thread Berry van Sleeuwen
I don't think Linux itself can detect that. But if you monitor the Linux console through a user running PROP you can see a file has arrived in the RDR because this will give a message in the virtual machine. PROP can then be used to send a command to the Linux machine to process that file.

Re: Can zLinux detect when files arrive in the virtual reader?

2022-08-31 Thread Jeffrey Barnard
Could you use the vm command interface to issue an Q F every x seconds. q f FILES: 109 RDR, 028 PRT, NO PUN If there are files in the RDR, time to go to work. Not as nice a catching the DE but should work. Regards, Jeff

Re: Can zLinux detect when files arrive in the virtual reader?

2022-08-31 Thread Alan Altmark
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