Can you only identify the bad data by the line numbers or is there a keyword in the log entries that you can include/exclude by ?
Jerry Whitteridge Delivery Manager / Mainframe Architect GTS - Safeway Account 602 527 4871 Mobile [email protected] IBM Services IBM Mainframe Discussion List <[email protected]> wrote on 06/25/2019 01:07:12 PM: > From: Jesse 1 Robinson <[email protected]> > To: [email protected] > Date: 06/25/2019 01:08 PM > Subject: [EXTERNAL] Copying portions of a huge data set > Sent by: IBM Mainframe Discussion List <[email protected]> > > We have a file that contains one month's worth of syslog/operlog > data. Unfortunately a user's job output has infiltrated this file at > random points by inappropriate use of MSGCLASS. I want to copy the > good data (log stuff) to another file and leave the errant user > stuff behind. It seems simple, but I can't seem to tweak a utility > like REPRO (with SKIP and COUNT) to do what I want. I've browsed the > file and identified by line number where each good data starts/ends > and where the bad data starts/ends, like this: > > 0000000001 - log > 0000932964 - job > 0000933148 - log > 0001539016 - job > ... > 0022175585 - job > 0022176053 - EOD log > > The output file should contain just the 'log' data. Suggestions? > > . > . > J.O.Skip Robinson > Southern California Edison Company > Electric Dragon Team Paddler > SHARE MVS Program Co-Manager > 323-715-0595 Mobile > 626-543-6132 Office <===== NEW > [email protected]<mailto:[email protected]> > > > ---------------------------------------------------------------------- > 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
