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.

Use SDSF (interactive or batch). Open PRINT, then PRINT * <# of lines>. and 
then PRINT CLOSE.

Example; 

PRINT ODSN <dataset> ...
PRINT * 200
PRINT CLOSE

You will then get the last 200 lines in your dataset. Of course it depends 
'when' you pressed <ENTER>, ie the SYSLOG as it is then displayed will be used 
as input, despite the fact that the SYSLOG has been appended between PRINT open 
and PRINT lines.

Then use ocopy to put it to an unix folder.

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.

Groete / Greetings
Elardus Engelbrecht

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

Reply via email to