Cool Solutions

Choppit – get the last abend.log entry quickly


April 1, 2008 10:41 am






Download Choppit

Simply drop choppit.exe in your server’s sys:system directory. After an abend just start it from there (mapped drive or UNC) to open the last Abend in your Window’s NOTEPAD.EXE, that’s it.

How it works:
– looks for ABEND.LOG in choppit’s folder
– reads in the full ABEND.LOG to an array
– searches backwards for “Abend 1”
– searches backwards for the “*” asterik line
– saves from that line to the end of the array
– Save File = [desktopdir]\ ABEND-serername-Chopped.TXT
– The servername is taken from the ABEND.LOG

The program is written in Autoit3 scripting language.

Never need it — I mean, don’t face ABENDs 😉

Regards, Rudi.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: Uncategorized

Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

1 Comment

  1. By:lcarriag

    Love your work. Simple but effective. It would be nice to be able to run from one location and look at other server’s ABEND logs. Makes it quicker to run across WAN links. With some of my servers it can take a couple of minutes to download the EXE to run it. Even if it is just some sort of CFG file that goes with it that we can put in a list of server names and they come up in a pick list when you run it. Rather than looking in the current location it uses the given server names and appends the ABEND.LOG location