On Thu, 13 Nov 2014 08:39:13 -0600, Elardus Engelbrecht wrote:

>Kacynski, Walt wrote:
>
>>Does anyone know of a way to tail the JES based MVS SYSLOG to an external 
>>system and/or unix based syslog? I want to send this data to an external 
>>system for analysis.
>    ...
>PRINT ODSN <dataset> ...
>    ...
>Then use ocopy to put it to an unix folder.
> 
I use the SDSF API (Rexx) to IEBGENER directly from spool to a UNIX
file.  No temp data set needed.  But only from job output; untested for
SYSLOG.  Does SDSF provide "PRINT OUTDD ddname"?

>To Lizette: The word 'tail' is an Unix term where you send the last x lines to 
>somewhere else. I believe there is also something like 'head' for send the 
>first x lines to somewhere else. Generally useful with the pipe command.
> 
The OP may be thinking of "tail -f fllename", where the "-f" option
means to periodically (every few seconds) to extract ("stat()") the
size of the file and send any characters not previously sent (in
the fashion of SDSF "DOWN MAX &nn").  The OP may have wanted
such dynamic updating.

-- gil

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

Reply via email to