Multiple Command Receivers
If you have started multiple command receivers, you can use the INGRCRCV QUERY command to show the list of command receivers and the associated NetView tasks and PPI IDs. For example:
ING337I PPI RECEIVER STATUS LIST
STATUS PPI TASK VOST VOSTOWNER OPF
-------- -------- -------- -------- --------- ---
ACTIVE INGRCRCV DSI#0022 CMDRCVR AUTWRK03 AOFCMDOPER
ACTIVE INGRCVR2 MYTASK EVTOPERThe display of this command shows the NetView task and PPI ID, the VOST owner and the OPF as specified in the command receiver start command.
The VOST is used to run the command receiver if it was started via the INGVSTRT command (you can check it in the APL's start command in the sample PDB). In this case, the VOST is the APL subsystem name and the VOST owner is the associated work operator AUTWRKnn.
The second line shows another command receiver that was started with PPI ID INGRCVR2 via command:
AOFEXCMD MYTASK INGRCRCV START PPI=INGRCVR2
OPF=EVTOPERThis second command receiver does not run in a VOST, but runs in the task MYTASK. The command will be scheduled to be executed by the single automated operator function EVTOPER.
VOST versus OST
The first command receiver runs in a VOST, and the second one runs in an OST.
The advantage of the VOST is that no separate OST is required. However, if more than one command receiver is running, it is not recommended to use the same VOST owner. Therefore, it might be useful to start the command receiver with the AOFEXCMD command in a separate task.