Stopping an Initiator Address Space with the STOP Command

The STOP command stops an APPC/MVS transaction initiator through its address space name (ASCHINT) and address space identifier. All initiators for the APPC/MVS transaction scheduler use the name ASCHINT.
   STOP ASCHINT,A=asid
To find out the address space identifier of the TP's transaction initiator, issue the DISPLAY command as follows. This example assumes the local TP name is MAIL.
   DISPLAY APPC,TP,LIST,LTPN=MAIL

This command results in output that might look like the following:

Figure 1. Sample DISPLAY Output
  ATB122I  09.22.15  APPC DISPLAY 206
    LOCAL TP'S       INBOUND CONVERSATIONS      OUTBOUND CONVERSATIONS
      00023                 00020                      00003
  LTPN=MAIL
     LLUN=MVSLU02    WUID=A0000067    CONVERSATIONS=00001   ASID=0039
     SCHED=ASCH      ASNAME=MAIL      TPID=06B4529800000012
To make sure the TP is actually running in a transaction initiator and is not queued, check the ASNAME keyword. If the value is ASCH, the TP is queued. If the TP is not queued, note the address space identifier value following the ASID keyword. Use this value in the STOP command, as follows:
   STOP ASCHINT,A=0039
Note:
  1. If there is a problem within the TP, you might need to cancel the TP by issuing a CANCEL command. For information about the CANCEL command, see Stopping a TP or APPC/MVS Address Space with the CANCEL Command.
  2. Another initiator might be created for the next TP request depending on the MIN/MAX ratio.
  3. To end both the initiator and the TP, issue a STOP command and a CANCEL command. For information about the CANCEL command, see Stopping a TP or APPC/MVS Address Space with the CANCEL Command.