Security Module? on 1998 Chevrolet 2500 Pickup

After inserting key into ignition and turning part way, as usual dash lites come on, once trying to start motor all elec goes dead, after removing key a rapid clicking continues on top of steering column behind dash, above brake pedal. Clicking continues til door lock buttons are pressed repeatedly.

Asked by for the 1998 Chevrolet 2500 Pickup
Best thing to do is to scan your security module. Other wise you are just guessing which can drain your wallet.
After speaking with the local mechanic he suggested a new battery, as I could hear the fuel pump kick on and all the dash and interior lights would lite I didn't think that was the problem. Well after jumping the truck I found it was in fact a dead battery, wow what a surprise. Now after replacing the battery all works great.