This AIX custom inventory has two scripts. The first one calls the second one which logs into each database and returns each sid found running, each database name, and each hostname found that is configured in a cluster with the database. Returning control to the first script, which parses the output for the proper values.