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



If you are thinking of node on the IBM i, then I might recommend getting some consultation from companies like Krengel Technology or Profound Logic or others. (Sorry if I left your consulting company out. I am not trying to play favorites here. Just suggesting that expert help may get you a solid foundation on which to build.)

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 Gerald Magnuson
Sent: Tuesday, April 10, 2018 10:10 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

thanks Brad...
I found a good simple start at
https://www.ibm.com/developerworks/ibmi/library/i-native-js-app-ibmi-with-nodejs/<https://www.ibm.com/developerworks/ibmi/library/i-native-js-app-ibmi-with-nodejs/>

however!!!!!! I think I can't get my script running....
(could it be my file is a wrong ccsid???? the article doesn't say.....)


node /home/gmagnuson/sample.js

/home/gmagnuson/sample.js:1

(function (exports, require, module, __filename, __dirname) {
���@����@~@�������M}����}]^
^



SyntaxError: Invalid or unexpected token

at createScript (vm.js:56:10)

at Object.runInThisContext (vm.js:97:10)




On Tue, Apr 10, 2018 at 9:52 AM, Bradley Stone <bvstone@xxxxxxxxx<mailto:bvstone@xxxxxxxxx>> wrote:

On Tue, Apr 10, 2018 at 9:24 AM, Gerald Magnuson <
gmagqcy.midrange@xxxxxxxxx<mailto:gmagqcy.midrange@xxxxxxxxx>
wrote:

Is there a redbook or something that details the how to use nodejs with
the
express server?
we have a hard time trying to get buy in using the IBMi for a
api/rest/soap
server....



Gerald,

There are many many many resources for using express online.. it's the same
as on any other platform as the IBM i. Aaron Bartell has also written
many articles on it.
--
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>.


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