Nathan and Kevin,

Still no success. I created a CL program (named ND001) with the following two commands:



I tried calling the ND001 CL program from a command line (CALL). I tried submitting the ND001 CL from a command line (SBMJOB). I'm still getting the signal 5 error in both cases.

I don't get the signal 5 error when I add the environmental variable in an interactive session and then use an interactive qshell session to start the node program. So I know it works in an interactive session.


Kelly Cookson
IT Project Leader
Dot Foods, Inc.
1.217.773.4486 ext. 12676

-----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,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at

This thread ...


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

This mailing list archive is Copyright 1997-2020 by 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].