The ENDWESRV command can be used to shut down the WindowsEnabler/400 PC program from the AS/400. The command can be used to shut down a WindowsEnabler/400 Client or Server PC.
Please note that you can only shut down a client from a terminal session running on the same PC. You cannot automatically shut down all clients.
ENDWESRV
PC location for program to run LOC __________
Wait for PC program to end . . . WAIT ____
Receive time-out value . . . . . TIMEOUT ______
N.A.