Command to shutdown Web Services spawn task cleanly
search cancel

Command to shutdown Web Services spawn task cleanly

book

Article ID: 139243

calendar_today

Updated On:

Products

Endevor Endevor - ECLIPSE Plugin

Issue/Introduction

Shutdown the TOMCAT address space by cancelling Tomcat job,  S222 occurs in the spawn task log.  Is there a command to shutdown spawn task cleanly - messages are displayed below: 

From ENF log:

09.26.04 STC04540 IEE301I WSNDVRS CANCEL COMMAND ACCEPTED
09.27.46 STC04540 S WSNDVRS,PARM='BC1PAPI0'
09.34.13 STC04540 C WSNDVRS,A=0119

 

From spawn task log - WSNDVRS :

09.05.39 STC05972 IEF450I WSNDVRS WSNDVRS - ABEND=S222 U0000 REASON=00000000 002
09.05.39 STC05972 OPS1370H WSNDVRS X'0000' X'8000' X'0000' T1MC0110 300 NOTIFY: IEF450I WSNDVRS WSNDVRS - ABEND=S222 U0000
REASON=00000000
09.05.39 STC05972 *NOTIFY: IEF450I WSNDVRS WSNDVRS - ABEND=S222 U0000 REASON=00000000
09.05.39 STC05972 OPS1370H WSNDVRS X'0000' X'8000' X'0000' T1MC0110 300 NOTIFY: Notify Mainframe Systems immediately!
09.05.39 STC05972 *NOTIFY: Notify Mainframe Systems immediately!
002 TIME=09.05.39
09.05.39 STC05972 $HASP395 WSNDVRS ENDED - ABEND=S222












Resolution

Issue  "P WSTOMSTC" to terminate spawn task cleanly.  This command triggers the built-in shutdown method.