As I read the OP and the IBM link, the QSH would be:
QSH CMD('/QOpenSys/usr/bin/sh -c "/home/RROGERSON/node/vlegacireactjs/start.sh"')



-----Original Message-----
From: John Yeung [mailto:gallium.arsenide@xxxxxxxxx]
Sent: Thursday, February 27, 2020 1:35 PM
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Subject: Re: [IBMiOSS] Difference between STRQSH and running in start.sh

On Thu, Feb 27, 2020 at 1:12 PM Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

Interactively, you should use a real shell.

Unless you actually say what a "real shell" is or provide a link for further reading, that comment is just snark.

As far as I'm concerned, you can only get a "real shell" if you use SSH to log in. If you're not using SSH, then personally, I would just stick with Qshell.

For batch, see:
How to Call PASE Commands/Scripts from a Command Line, CL Program, or
in a Submitted Job
https://www.ibm.com/support/pages/node/684869

I don't know if you read the information you linked to. It says to use Qshell for batch. Which is precisely what OP did.

John Y.


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