|
Hello all,
I've a question regarding the WAS6.1 "stopserver" qsh command and
hopefully some one on this list can help me with it. The doc for this
stopserver command can be found in
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/c
om.ibm.websphere.express.doc/info/exp/ae/rxml_stopserver.html.
I'm planning to create a program to execute this stopserver command to
shut down a particular application server job at certain time. A simple
version of this program will looks like below:
PGM
CD DIR('/WAS61/profiles/TESTAPPSRV/bin')
QSH CMD('stopserver TESTAPPSRV -username +
someuser -password somepassword')
ENDPGM
My question is regarding the username and password parameters. Is there
a to somehow tell this command to use the current job's username and
password when executing this command? Hardcode username and password or
store them in some kind of properties file is not my desire options.
thanks
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
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.