In the process of shutting down our Test LPAR, when we issued the "P sarxms" command to stop the XMS Started Task, it would not come down and had to be cancelled.
The following was captured from the SYSLOG:
10.46.50 STC09557 ---- WEDNESDAY, 05 MAY 2021 ----
10.46.50 STC09557 EBCOCMD1 --> QUIESCE ALL (SIMULATED)
10.46.50 STC09557 EBCOQSH1 XMS QUIESCE REQUESTED
10.46.50 STC09557 EBCERRW3 EBCERRWL TERMINATING
11.14.20 STC09557 AB529 A BDCAS IS NOT REGISTERED WITH SUBSYS BCAS ON XXXX
11.14.20 STC09557 AB530 UNABLE TO REGISTER WITH BDCAS. RC = 00000008. ABEND-AID PROCESSING TERMINATED.
11.14.24 STC09557 IEA995I SYMPTOM DUMP OUTPUT 722
722 SYSTEM COMPLETION CODE=122
722 TIME=11.14.20 SEQ=04040 CPU=0000 ASID=0061
722 PSW AT TIME OF ERROR 078C1000 92901DA6 ILC 2 INTC 01
722 ACTIVE MODULE ADDRESS=00000000_12900000 OFFSET=00001DA6
722 NAME=EE0DRV
722 DATA AT PSW 12901DA0 - D0701311 0A019140 D09C4710
722 GR 0: 00000001 1: ED6FCF90
722 2: 12903108 3: 12903078
722 4: 129032F0 5: 00000000
722 6: 92901A20 7: 00FC1400
722 8: 12902000 9: 00AF5468
722 A: 1100F088 B: 12901000
722 C: 92900000 D: 12903000
722 E: 12903080 F: 80AFE868
722 END OF SYMPTOM DUMP
11.14.24 STC09557 IEF450I CAVWXMS XMS CA$XMS - ABEND=S122 U0000 REASON=00000000 729
Release : 14.0
Component : CA View
The command "/P SARXMS" is a quiesce command that terminates the cross-memory task when the last user ends his or her session.
If no users are in session when the cross-memory online task is quiesced, the task terminates immediately.
With that, there can be a delay in the task coming down, if users are still in session.
If you want to bring a SARXMS task down immediately, regardless of user sessions, that would be done with "/F sarxms,SHUTDOWN".
Also, command "/F sarxms, CANCEL ALL" will cancel all users from the task.