× 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.



You're looking at a different driver...as far as I know it is returned by this driver, but not by the ibm_db driver that Kelly was talking about.


________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxx> on behalf of Henrik Rützou <hr@xxxxxxxxxxxx>
Sent: 09 April 2018 12:06
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] ibm_db node module and IBM Data Server Driver

Tim

doesn't support the retrieval of meta-data from the stored procedure
result sets

Are you sure of that, metadate is return on simple table lookup so why not
stored procedures?

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fcommunity%2Fwikis%2Fhome%3Flang%3Den%23!%2Fwiki%2FIBM%2520i%2520Technology%2520Updates%2Fpage%2FDB2%2520for%2520i%2520access%2520APIs&data=02%7C01%7C%7C1aca519846204ed5eb4808d59e01c078%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636588652709329289&sdata=QVHzBJCCjtFUgbtP7H0%2Ba3cw91ECm16IHe0UITiR8Ww%3D&reserved=0

On Mon, Apr 9, 2018 at 11:28 AM, Tim Fathers <X700-IX2J@xxxxxxxxxxx> wrote:

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.

Maybe I'm misunderstanding this, but it seems you want to have a .NET
application use a NodeJs wrapper to call an ODBC driver (via ibm-db) to
access the IBM i? In which case why not just have the .NET application use
the Client Access ODBC driver directly, surely this must be possible? Why
involve NodeJs/ibm_db at all?

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

Personally I wouldn't allow SQL against the database, only stored
procedure calls. One thing with the ibm_db driver, that I mentioned before
I think, it that is doesn't support the retrieval of meta-data from the
stored procedure result sets. This may or may not be an issue for you but
for my framework this is a showstopper at the moment which is one of the
reasons why I haven't ported of from Java to Node. If you cannot get the
meta-data it makes it impossible to know what data-type each column is and
therefore you can't use this information to transform or format the data
correctly in a generic way.


________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxx> on behalf of Kelly Cookson
<KCookson@xxxxxxxxxxxx>
Sent: 08 April 2018 20:34
To: Web Enabling the IBM i (AS/400 and iSeries) (web400@xxxxxxxxxxxx)
Subject: [WEB400] ibm_db node module and IBM Data Server Driver

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://eur03.safelinks.protection.outlook.com/?url=
https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fibm_db&data=02%7C01%7C%
7Cf076ec661d0344b9d06b08d59d7f77ee%7C84df9e7fe9f640afb435aaaaaaaa
aaaa%7C1%7C0%7C636588093146178905&sdata=EF3xiaMapYby74ikImGZmnXtPV2ha4
gjabos4MHpa8c%3D&reserved=0. 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://eur03.safelinks.protection.outlook.com/?url=
https%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fcommunity%
2Fblogs%2Fpd%2Fentry%2Fusing_ibm_db2_from_node_js4%3Flang%
3Des&data=02%7C01%7C%7Cf076ec661d0344b9d06b08d59d7f77ee%
7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636588093146178905&sdata=
QFxpaERPQoWvjJuRNWg8k8DubO%2FgosJFygsBcVv9te0%3D&reserved=0)


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
https://eur03.safelinks.protection.outlook.com/?url=
https://eur03.safelinks.protection.outlook.com/?url=www.dotfoods.com&data=02%7C01%7C%7C1aca519846204ed5eb4808d59e01c078%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636588652709329289&sdata=5EGI11eKK3%2FgMgnrmTNGtHVwa%2BNNB9NR6jz4Qu5rg8w%3D&reserved=0&data=02%7C01%7C%7Cf076ec661d0344b9d06b08d59d7f77ee%
7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636588093146178905&sdata=
xvOu50a2RHe949PW7Hl1FqQQsO8FWTttNnlEDwlOci4%3D&reserved=0<ht
tps://eur03.safelinks.protection.outlook.com/?url=
http%3A%2F%2Fwww.dotfoods.com&data=02%7C01%7C%
7Cf076ec661d0344b9d06b08d59d7f77ee%7C84df9e7fe9f640afb435aaaaaaaa
aaaa%7C1%7C0%7C636588093146178905&sdata=B2slnsVZVDR6aLumpA6uq1dzDsl0hM
fbcHnnDmF0GZY%3D&reserved=0>

--
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://eur03.safelinks.protection.outlook.com/?url=
https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%
2Fweb400&data=02%7C01%7C%7Cf076ec661d0344b9d06b08d59d7f77ee%
7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636588093146178905&sdata=
yxT7ZNU%2BA8pXtpAm0GfnE9NogQ9n%2BoEo%2FuwucxHVrqo%3D&reserved=0
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://eur03.safelinks.protection.outlook.com/?url=
https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%
7Cf076ec661d0344b9d06b08d59d7f77ee%7C84df9e7fe9f640afb435aaaaaaaa
aaaa%7C1%7C0%7C636588093146178905&sdata=4JxkDh%2BXUquzP%2FGnjqgsdG%
2F6UpgiXEY4VWX98XF%2BEGY%3D&reserved=0.

--
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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7C1aca519846204ed5eb4808d59e01c078%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636588652709329289&sdata=DC%2B3DYgr3yFIWrK9%2FvjXCapxOu1qSzGtWoxBbVmli5E%3D&reserved=0
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7C1aca519846204ed5eb4808d59e01c078%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636588652709329289&sdata=9mjRct6WeZvUur4gCKnK9x7YHBbM6C81okKJe0N0%2B4M%3D&reserved=0.




--
Regards,
Henrik Rützou

https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2FpowerEXT.org&data=02%7C01%7C%7C1aca519846204ed5eb4808d59e01c078%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636588652709329289&sdata=WIne13fdK9ik4FH12KQ6zKHI4VfzWCQS4xAkpcxRIjo%3D&reserved=0 <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpowerext.org%2F&data=02%7C01%7C%7C1aca519846204ed5eb4808d59e01c078%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636588652709329289&sdata=HXwSzeWa9bmCX%2FJRqGPI%2FhHHIBjBIIaA1nlU0VecKvs%3D&reserved=0>
--
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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7C1aca519846204ed5eb4808d59e01c078%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636588652709329289&sdata=DC%2B3DYgr3yFIWrK9%2FvjXCapxOu1qSzGtWoxBbVmli5E%3D&reserved=0
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7C1aca519846204ed5eb4808d59e01c078%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636588652709329289&sdata=9mjRct6WeZvUur4gCKnK9x7YHBbM6C81okKJe0N0%2B4M%3D&reserved=0.


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.