I've found this the most graceful sequence to end - depending on what you are using it might not make any difference, but it can't hurt:

ENDMSF
ENDHOSTSVR SERVER(*ALL) ENDACTCNN(*DATABASE *FILE)
ENDTCPSVR *ALL
ENDTCP
ENDSBS *ALL




Jeff Carey, MSIT, MBA
Sr. Systems Administrator

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Eric Lehti
Sent: Tuesday, December 11, 2012 12:03 PM
To: Midrange Systems Technical Discussion
Subject: V6R1 - If the Telnet server is not ended prior to the ending ofsubsystems, it might not automatically restart

I know someone who has a CL program in WRKJOBSCDE to perform these END* commands at month-end. He meant to suspend this program but forgot, leaving it scheduled.
On the next Sunday, it ran, making the system inaccessible.
And no one could contact him for many hours because he did not have his cellphone with him Sigh . . .

"System I i5/OS Memo to Users, Version 6 Release 1 (July 2012 Update":

ENDTCP before ENDSBS *ALL *IMMED
If the Telnet server is not ended prior to the ending of subsystems, it might not automatically restart. To circumvent this and other potential problems it is suggested that prior to ENDSBS *ALL *IMMED these steps be taken:
1. ENDTCPSVR *ALL
2. ENDHOSTSVR *ALL
3. Allow the commands to complete and the servers to end. If issuing the commands from a CL program include a DLYJOB DLY(300) to allow the commands to complete.
4. ENDTCP

"IBM i Memo to Users 7.1 (April 2012 Update)"
Backup and recovery changes
GO SAVE, GO RESTORE, GO LICPGM changes
In IBM i 7.1, the GO SAVE (options 21-23, 40), GO RESTORE (options 21-23, 40), and GO LICPGM (option 40) menus were enhanced to end TCP before ending the subsystems.
Commands that are issued
as part of these options are:
v End TCP/IP Server (ENDTCPSVR)

End TCP/IP (ENDTCP)
To allow time for these commands to process, two Delay Job (DLYJOB) commands are issued. A total of
10 minutes delay is added before the End Subsystem (ENDSBS) command is issued.
SAVLIB and SAVCHGOBJ changes for library QUSRSYS
+++++++++++++



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



This communication, including any attachments, may contain information that is confidential and may be privileged and exempt from disclosure under applicable law. It is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender. Thank you for your cooperation.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.