BPX1IPT (mvsiptaffinity) example

The following code executes the assembler routine EXITRTN on the IPT of the requesting thread, and passes EXITPARM as input in R1. The requesting thread is blocked until EXITRTN runs. For the callable service, see mvsiptaffinity (BPX1IPT, BPX4IPT) — Run a program on the IPT thread. AMODE 64 callers use BPX4IPT (mvsiptaffinity) example.
                                              
         MVC   EXITRTNA,=V(EXITRTN)  ->Routine address                  
*        MVC   EXITPLA,=A(EXITPARM)  ->Input parameter list             
         SPACE ,                                                        
         CALL  BPX1IPT,                                                +
               (EXITRTNA,            Input: Routine address            +
               EXITPLA,              Input: Parm list address or 0     +
               RETVAL,               Return value: -1 or not return    +
               RETCODE,              Return code                       +
               RSNCODE),             Reason code                       +
               VL,MF=(E,PLIST)       ----------------------------------