From a shell or interactive QSH, this works:
activemq start

If I run this CL command, it doesn't work:
QSH CMD('/QOpenSys/usr/bin/sh -c "/QOpenSys/pkgs/bin/activemq start"')

I finally noticed just now that "activemq" doesn't work thru the CL command. I suspect that's significant. This command:
QSH CMD('activemq start')
qsh: 001-0019 Error found searching for command activemq. No such path or di
Press ENTER to end terminal session.

-----Original Message-----
From: Jack Woehr [mailto:jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, March 19, 2020 12:10 PM
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Subject: Re: [IBMiOSS] Start ActiveMQ from CL

On Thu, Mar 19, 2020 at 11:04 AM Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

I tried piping the output to an IFS file. The file contains the
messages from ActiveMQ and the results are the same. What am I missing?

By that I assume you mean:

- If you launch from CL, no pid
- If you run script interactively from shell, there is a pid


Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and delete/destroy all copies of this communication immediately.

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