Writing/Closing a file in a pipeline

2009-04-30 Thread Thomas Kern
I have an exec with a pipeline that is listening on STARMSG *VMEVENT. Whe n it receives a LOGON record, it gets processed and additional information is added to the record. I would like the record to be written to a disk file and that disk file be available for others to read via READ-ONLY links

Re: Writing/Closing a file in a pipeline

2009-04-30 Thread Bob Bates
. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Thomas Kern Sent: Thursday, April 30, 2009 9:06 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Writing/Closing a file in a pipeline I have an exec with a pipeline that is listening on STARMSG *VMEVENT

Re: Writing/Closing a file in a pipeline

2009-04-30 Thread Bruce Hayden
. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Thomas Kern Sent: Thursday, April 30, 2009 9:06 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Writing/Closing a file in a pipeline I have an exec with a pipeline that is listening

Re: Writing/Closing a file in a pipeline

2009-04-30 Thread Rob van der Heij
On Thu, Apr 30, 2009 at 5:18 PM, Bruce Hayden bjhay...@gmail.com wrote: Add something like this to the pipeine: '? literal +30', '|  dup *', '|  delay', '|  spec /FINIS * * A/ 1', '|  command' Would you not want to avoid that when there has not been a record since last time you closed it?

Re: Writing/Closing a file in a pipeline

2009-04-30 Thread Thomas Kern
That works on its own. I did have another timing program (SCHEDULE) runni ng in that SVM to schedule a PIPMOD STOP just before midnight and a CP IPL a t midnight to restart the process with a new daily log file. I will move th at scheduling to VMUTIL. On Thu, 30 Apr 2009 11:18:47 -0400, Bruce

Re: Writing/Closing a file in a pipeline

2009-04-30 Thread Bruce Hayden
This pipe read accounting records, so every 30 seconds even with nothing to do was fine. A longer interval would probably be fine also, but 30 seconds was pretty good when I was testing. The machine also responded to shutdown signals (thanks to shuttrap) so the chance of losing any records was

Re: Writing/Closing a file in a pipeline

2009-04-30 Thread Thomas Kern
Yes, SHUTTRAP works fine issuing a PIPMOD STOP but not an HVMEVENT which I tried first. I have SHUTTRAP in place so that I can stop it at anytime during the day and still have a safe data file. /Tom Kern On Thu, 30 Apr 2009 15:29:59 -0400, Bruce Hayden bjhay...@gmail.com wro te: This pipe