I have used the @BRLOG rexx exec, freely supplied by IBM, to perform post IPL 
analysis on the head of the active syslog. Redbook 
http://www.redbooks.ibm.com/redbooks/pdfs/sg247419.pdf points to 
ftp://www.redbooks.ibm.com/redbooks/SG247419 to  download SG277419.zip and 
@brlog.rex is in the ch06 directory. The Redbook chapter 6 says you can direct 
the output to a dataset or to a path name where you can head/tail the SYSLOG 
data.

Paul Gillis

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]]
> On Behalf Of Paul Gilmartin
> Sent: Friday, 14 November 2014 1:56 AM
> To: [email protected]
> Subject: Re: Tail of MVS SYSLOG
> 
> 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

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

Reply via email to