|
I created a script (ActiveMqStart) with these two commands:
set PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
/QOpenSys/pkgs/bin/activemq start
It works from a shell and from interactive QSH, but not if I run this 5250 command:
QSH CMD(ActiveMqStart)
In that case, it performs the same as running the activemq command directly.
Thanks
-----Original Message-----
From: Bryan Dietz [mailto:bdietz400@xxxxxxxxx]
Sent: Wednesday, March 18, 2020 11:01 AM
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Subject: Re: [IBMiOSS] Start ActiveMQ from CL
you might want to put the command in a shell scrip and run that from CL.
make sure the PATH is correctly set in the script.
Bryan
As an Amazon Associate we earn from qualifying purchases.
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.