in reply to Dell KACE lookup script failure

## bind_columns failed: called with 4 values but 74 are needed
my $sql = "SELECT * FROM ORG1.MACHINE";
$sth->bind_columns(undef, \$ID, \$NAME, \$USER, \$MAC);
Perhaps you really have 74 columns in that table, not just 4? Try SELECTing only ID, NAME, USER, MAC instead if *.
Sorry if my advice was wrong.