Hi all and John

Below is the PS   from SYSLOG 

M C040000 ADCD113  18123 14:03:50.83          00000090  $HASP478 
D                                         112 00000090           
E                                         112 00000090           
N C040000 ADCD113  18123 14:03:50.87          00000090 *$HASP493 
N C040000 ADCD113  18123 14:03:50.87          00000090  $HASP537 
N 0000000 ADCD113  18123 14:03:51.20          00000281  IEF196I I
N 0000000 ADCD113  18123 14:03:51.33          00000281  IEF196I I=====The first 
character on the line indicates the record type: M:First line of a 
multiple-line message.D:Data line of a multiple-line message; this line may be 
the last
    line of the message.E:End line or data-end line of a multiple-line 
messageN:Single-line message that does not require a reply.
====
We want to extract some  important messages  from syslog or operlog by filter 
MSGID 
If we use SORTs Or "ISREDIT find",we don't know how to extract multiple-line 
message
 Could you tell us how to use  SORTs can extract on 'anything' using control 
cards or "ISREDIT find" 
 any suggestions is very appreciated

Best Regards,
Jason Cai

 
From: John Kelly
Date: 2018-11-09 02:46
To: IBM-MAIN
Subject: Re: filter program
Since the various SORTs can extract on 'anything' using control cards,
maybe that would give you the PS file(s) required?
 
On Thu, Nov 8, 2018 at 2:12 AM Paul Gilmartin <
[email protected]> wrote:
 
> On Wed, 7 Nov 2018 17:21:42 +0800, Jason Cai wrote:
> >
> > When we use filter command in oplerlog to show the messages that we want
> ,it is very convenient.
> >
> >for  example:
> >
> >filter msgid=IEF* or filter msgid=*E
> >
> >We want to code a filter program to do it for PS file, could you know how
> to code it?
> >
> >How to make filter program support *?
> >
> grep
>
> ISRSUPC SRCHFOR
>
> -- gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
 
 
-- 
John Kelly
 
----------------------------------------------------------------------
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