Success!
I set the environmental variable in the start.sh script. The script now looks like this:
#!/usr/bin/sh
export QIBM_MULTI_THREADED=Y
cd /QOpenSys/QIBM/ProdData/Node/bin
node /dir/sample.js
This worked. Thanks again for all of the help. :-)
Thanks,
Kelly Cookson
IT Project Leader
Dot Foods, Inc.
1.217.773.4486 ext. 12676
kcookson@xxxxxxxxxxxx
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Nathan Andelin
Sent: Friday, August 21, 2015 1:13 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Starting a node program so it keeps running without interactive jobs staying open.
Do I need to add the environment variable to the submitted job?
I would think so. Use SBMJOB to submit a CLLE program - set environment variables there - then call QSH from the CLLE program and pass the reference to your .sh file.
--
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:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.