Doesn’t the ibm_db node module have a dependency on a connector that you need to purchase a licence for or am I thinking of something else?

On 8 Apr 2018, at 19:34, Kelly Cookson <KCookson@xxxxxxxxxxxx> wrote:

Hi,

I would like to pick people's thoughts on an idea.


1. I just came across the ibm_db node module at npm: https://www.npmjs.com/package/ibm_db. It looks to me like this will run in node on windows.


2. It also looks like the ibm_db node module can access DB2 on the IBM i, thanks to the IBM Data Server Driver for ODBC and CLI. (https://www.ibm.com/developerworks/community/blogs/pd/entry/using_ibm_db2_from_node_js4?lang=es)


3. The .NET Core framework has something called Node Services. Node Services allows .NET apps to use node modules (using node on windows under the covers).



4. So, could a person do something like this?

a. A .NET Core web app uses Node Services to access the ibm_db node module.

b. The ibm_db node module uses the IBM Data Server for ODBC and CLI to connect to a DB2 database on the IBM i.

c. This connection is then used for SQL against database tables and/or for calling CL and COBOL programs using stored procedures.

I'm not suggesting this is our preferred option. It's not even on the table for consideration yet. I would like to get some expert insights first (of which this list is full, and truly appreciated). Where does the above fall down or bite us?

Thanks,

Kelly Cookson
IT Project Leader
Dot Foods, Inc.
217-773-4486 ext. 12676
www.dotfoods.com<http://www.dotfoods.com>

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.