Before I retired, I had some rexx code that took syslog, worked from the
bottom upwards, and rebuild syslog so there was one line (sometimes a very
long line) per message.
you have to work from the bottom and work up, because you cannot tell if
you work down, if a message has multiple lines.
This might help you with your problem


On Fri, 7 Jan 2022 at 08:39, Jason Cai <[email protected]> wrote:

> Hi all
>
>  There are many dates and times in the input.
>
> Please see it below
>
> input
> ===================================
> 06/28/2018 2018.17  AAAAAA  18:07:46.51
> BBBBBB 06/28/2019 16:07:46.50
> =====================================
>
>  The issue is that the position of date and time isn't fixed.
>
> at the same time, the value of time and date is variable.
>
>
>  We hope to use dfsort to replace these dates and times with BLANK to get
> the following output.
>
> output
> ====================================
>                                 AAAAAA
> BBBBBB
> =====================================
>
> We are migrating z/OS from 2.2 to 2.3 .
>
> Any suggestions are highly appreciated!
>
> Thanks a lot!
>
> Jason Cai
>
> ----------------------------------------------------------------------
> 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