Tool

rthilo2's picture
tool
Reads:

6094

Score:
4
4
1
 
Comments:

1

Choppit - get the last abend.log entry quickly

Author Info

1 April 2008 - 9:41am
Submitted by: rthilo2

(View Disclaimer)

license: 
freeware

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.

Fichier attachéTaille
Choppit.zip353.55 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

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, test, test before you do anything drastic with it.




User Comments

lcarriag's picture

Enhancement request

Submitted by lcarriag on 27 April 2008 - 5:44pm.

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

© 2013 Novell