On Sat, 18 Jun 2022 12:18:12 -0700, Charles Mills wrote:

>That's a thought. I had not thought of that. I am REAL familiar with SMF 
>including user SMF records. APF authorization is not a problem -- I am the 
>master of this universe.
> 
I suspect that mixing MVS and UNIX technologies might embody the worst
characteristics of both.  Try doing repeated fwrite()  of small records to a
data set with large BLKSIZE while doing "tail -f" from another job.

The KSDS method sounds promising.  I'm entirely VSAM-naive.

Thinking further on the idea of a Rexx logger, I don't know that there's a
good way to handle the SIGHUP.  And there's still the hazarrd that the
SIGHUP arrives right during the write().  Serialization required.  That's
a job for semaphores.  I see no Rexx SYSCALL semaphore support.

But the logger itself could rotate the log files itself, daily.  And thee 
reporter
could run a few minutes later by crontab; verify that the log has ben
renamed (error handling?) and generate the report.  Or the logger itself
could generate the report once daily.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to