× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks Henrik.

That link says the idb-connector cannot run on Windows. But someone also said “Another option is the ibm_db project, which requires Db2Connect licensing.”

So, I’m taking it that we can use .NET Core Node Services with ibm-db to connect to the IBM i. But I also assume our .NET developers could probably make use of DB2 Connect without .NET Core Node Services. The only advantage of using Node Services and ibm-db would be the ability to offload connectivity to the IBM i to JavaScript developers. I suspect the ROI on the DB2 Connect license would be hard to justify in this case.

Appreciate the heads up on the licensing issue from Kevin, too. I didn’t know about that until I posted to this list.

Thanks,

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

From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Henrik Rützou
Sent: Monday, April 09, 2018 2:54 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] [EXTERNAL] Re: ibm_db node module and IBM Data Server Driver

Kelly,

you may find the answers you are looking for here ...

https://bitbucket.org/litmis/nodejs-idb-connector/issues/<https://bitbucket.org/litmis/nodejs-idb-connector/issues/>
20/is-it-possible-to-build-the-idb-connector

On Mon, Apr 9, 2018 at 1:29 AM, Kelly Cookson <KCookson@xxxxxxxxxxxx<mailto:KCookson@xxxxxxxxxxxx>> wrote:

And, of course, if we license the IBM Connector, then we could use that
directly in .NET apps. We wouldn’t need to use the ibm_db module or .NET
Core Node Services. I’m just thinking that if we use the ibm_db node module
and .NET Core Node Services, then our .NET developers could offload that
development and maintenance to JS/Node.JS developers. Plus, the same
JS/Node.JS developers could also be developing web services and/or web apps
using Node.JS on the IBM i.

Just exploring the possibilities.

Thanks,

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

From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kevin
Sent: Sunday, April 08, 2018 1:48 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx<mailto:web400@xxxxxxxxxxxx>>
Subject: [EXTERNAL] Re: [WEB400] ibm_db node module and IBM Data Server
Driver

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<mailto:
<mailto:KCookson@xxxxxxxxxxxx%3cmailto:%0b>> KCookson@xxxxxxxxxxxx<mailto: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<https://www.npmjs.com/package/ibm_db><https://www.npmjs.com/package/ibm_db<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/<https://www.ibm.com/developerworks/community/blogs/pd/>
entry/using_ibm_db2_from_node_js4?lang=es<https://www.ibm<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><http://www.dotfoods.com<http://www.dotfoods.com>><http://www.dotfoods.com<http://www.dotfoods.com><
http://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<mailto:WEB400@xxxxxxxxxxxx<mailto:WEB400@xxxxxxxxxxxx%3cmailto:WEB400@xxxxxxxxxxxx>>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400<https://lists.midrange.com/mailman/listinfo/web400><https://
lists.midrange.com/mailman/listinfo/web400<http://lists.midrange.com/mailman/listinfo/web400>>
or email: WEB400-request@xxxxxxxxxxxx<mailto:WEB400-request@xxxxxxxxxxxx<mailto:WEB400-request@xxxxxxxxxxxx%3cmailto:WEB400-request@xxxxxxxxxxxx>

Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400<https://archive.midrange.com/web400><https://archive.midrange
.com/web400>.


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




--
Regards,
Henrik Rützou

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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.