I'm taked with buildig a web service that gets it's data from an old AS400 database server.
I'm trying to connect over nodejs using https://github.com/ibmdb/node-ibm_db and i'm getting this error on most databases.
SQL30061N The database alias or database name "database name here" was not found at the remote node. SQLSTATE=08004
Except from one, that states: An attempt to connect to a host failed due to a missing DB2 Connect product
(that's more or less expected)
I noticed that the last one is the *local database, and the rest have some other remote name.
I also noticed that here it's stated that i can only connect to the *local database, but it never explains why http://www-03.ibm.com/systems/resources/systems_i_software_db2_pdf_db2connect.pdf
I'm really confused, all these databases are "local" in the sense they are all hosted in the same physical machine. what does *local mean on a remote location and why i cant connect to the other databases if they are not *local?