× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Aaron and Kevin,

I just did NESTAT, option 3, then option 4. But you are both correct. This doesn't end the job. It only ends the TCP connection.

I tried NETSTAT, option 3, then option 8. My only option then was 5 to work with the job. So ending the job this way would be NETSTAT, option 3, option 8, option 5, option 41.

Aaron,

What does it mean to have a job in a race condition?

Thanks,

Kelly Cookson
IT Project Leader
Dot Foods, Inc.
1.217.773.4486 ext. 12676
kcookson@xxxxxxxxxxxx



-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: Thursday, August 20, 2015 3:57 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Ending a node web server from QSH session

Note that option 4 on that screen isn't necessarily ending the job and instead is issuing the ENDTCPCNN command. This doesn't guarantee the job will end and instead only that the TCP connection is ended. This has different consequences depending on the language you are using and can sometimes put the corresponding job into a race condition. Better to end the job instead of the TCP connection.

I learned the hard way on this one awhile back :-)

Aaron Bartell
litmis.com - Open Source and IBM i. No Limits.


On Thu, Aug 20, 2015 at 3:35 PM, Kelly Cookson <KCookson@xxxxxxxxxxxx>
wrote:

Never mind. I figured out that I could use NETSTAT, option 3 and look
for my port number. Then take option 4 to end the job. That seems to
have worked.

Thanks,

Kelly Cookson
IT Project Leader
Dot Foods, Inc.
1.217.773.4486 ext. 12676
kcookson@xxxxxxxxxxxx


--
This is the Web Enabling the IBM i (AS/400 and 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.