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


Jason Cai,

You can use DFSORT to extract multiple lines using WHEN=GROUP.  There is a
similar topic couple of weeks back and here is the link to that topic.

https://groups.google.com/forum/#!topic/bit.listserv.ibm-main/U2Qijjf9BJ8

You can use the same technique and push the message to the end and then
using OUTFIL you can extract all the messages you want.

If you still need help please send me an offline email with a sample input
file along with DCB properties  and I will show you how you can extract
data

Thanks,
Kolusu
DFSORT Development
IBM Corporation

IBM Mainframe Discussion List <[email protected]> wrote on
11/08/2018 06:01:51 PM:

> From: Jason Cai <[email protected]>
> To: [email protected]
> Date: 11/08/2018 06:03 PM
> Subject: Re: filter program
> Sent by: IBM Mainframe Discussion List <[email protected]>
>
> 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
>

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

Reply via email to