I'm doing a little POC with NodeJS and the ibm_db NPM package, which I believe uses ODBC. Locally, I'm able to query DB2 zOS tables via dynamic SQL and call stored procedures. I believe (not sure) I have a client license file under IBM\DB2\DB2COPY1\license\ on my machine (normally I write a lot of DB2 applications in .NET and for that purpose have DB2 client installed locally).
When I push my NodeJS app out to our PCF Cloud installation, I get a license error:
[IBM][CLI Driver] SQL1598N An attempt to connect to the database server failed because of a licensing problem. SQLSTATE=42968
There is a note about licensing for zOS within the ibm_db package documentation here, and I am working with my DBA to understand how this works for Node applications in the cloud. Can I obtain a license file and deploy it along with my app in order to be "cloud-friendlier"? Does it need to be in the directory mentioned in the ibm_db doc?
Any help is appreciated.