Excellent tip Peter! I am sticking this in my trusty toolbox as I have had
the same issues in the past.

Would you be able to post the source for KILLJOB?

Aaron Bartell
http://mowyourlawn.com

On Thu, Oct 2, 2008 at 4:11 PM, Peter Connell <
Peter.Connell@xxxxxxxxxxxxxxxxx> wrote:

I found it useful enough to write a little cmd KILLJOB JOB(XXX) (an API
can retrieve the PID of any job).
This comes in handy when needing to reboot the server when promoting a
application or when there's trouble.
Since the ENDTCPSVR cmd won't complete if it's on a msg wait, this is a
way to end it unilaterally from an automated job.

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Nathan Andelin
Sent: Friday, 3 October 2008 9:57 a.m.
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Web server will not shut down

From: Peter Connell
Here is how to instantly terminate the web server via 2 manual steps
from the cmd line.


Sweet, worked like a charm...




--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To
post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


#####################################################################################
This correspondence is for the named person's use only. It may contain
confidential or legally privileged information, or both. No confidentiality
or privilege is waived or lost by any mistransmission. If you receive this
correspondence in error, please immediately delete it from your system and
notify the sender. You must not disclose, copy or rely on any part of this
correspondence if you are not the intended recipient. Any views expressed in
this message are those of the individual sender, except where the sender
expressly, and with authority, states them to be the views of Veda
Advantage. If you need assistance, please contact Veda Advantage on either
:- Australia 133124 or New Zealand +64 9 367 6200
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.