A lot of the machines that I scan are returning back invalid, or empty
serial numbers.

The serial number is Key to me, as it is the unique ID in another database
which I will be upadating using information from ZAM.

What Can be done about this?

PS some serial numbers have commmas etc, or repeated 0's (000000) or
characters I can't even type with out the character map.