PMIX Utility

SYSTEM/PMIX is a program that searches for mix entries with a set of specified characteristics. You can specify the reported attributes, however, if you do not make a specification, PMIX reports

  • MIXNO

  • USERCODE

  • NAME

PMIX Request

The PMIX request syntax is explained as follows:

Syntax

         ┌◄───────────────────────────┐
── PMIX ─┴─┬────────────────────────┬─┴────────────────────────────────►
           ├─<SHOW specification>───┤
           ├─<SELECT specification>─┤
           └─<SORT specification>───┘
►─┬─────────────────────────────┬──────────────────────────────────────┤
  └─ : ──<output specification>─┘

Examples

Example 1

This example selects all mix entries with a name containing the string "PRINT" excluding segment dictionaries. It displays the mix number, name, and process type.

U $SYSTEM/PMIX SELECT NAME="=PRINT=",TYPE <> 8 
               SHOW MIXNO,NAME,TYPE

#RUNNING 7480

#?

PMIX Version 59.180.0008 Tuesday, March 14, 2017 07:17:27      


MixNo  Name                      Type
6949   PRINTS_COMMAND_HANDLER      1
6944   *SYSTEM/PRINT/ROUTER        2
6939   *SYSTEM/PRINT/UTILITY       2
6887   *SYSTEM/PRINT/DRIVERS       2
6875   SYSTEM/PRINT/FONTSUPPORT    2
6866   SYSTEM/PRINT/SUPPORT        2
7006   SYSTEM/PRINT/BNAROUTER      2
6951   PRINT/MONITOR               7
6950   PRINT/MONITOR               7

Example 2

This example selects all mix entries that have a non-empty usercode. It displays the name, usercode, and mix number.

U $SYSTEM/PMIX SELECT USERCODE <> "" SHOW NAME, USERCODE, MIXNO  
#RUNNING 7481
#? 
PMIX Version 56.135.0003 Monday, October 8, 2012 16:42:12  
Name                            Usercode  MixNo  
(PUTOMH)SYSTEM/PMIX ON MCPMAST  PUTOMH    7481
#ET=0.3 PT=0.2 IO=0.0                                             

Example 3

This example selects all mix entries that have a name beginning with the string "SYSTEM". It displays the mix number, name, task type, and ready queue time, sorted in descending order of ready queue time.

U $SYSTEM/PMIX SELECT NAME="SYSTEM="
 SHOW MIXNO, NAME, TASKTYPE, READYQTIME
 SORT DESCENDING READYQTIME
 #RUNNING 7482
 #?
 PMIX Version 56.135.0003 Monday, October 8, 2012 16:42:46

 MixNo Name                            TaskType ReadyQTime
 7009  SYSTEM/LCF                      Int      34.5105696
 6936  SYSTEM/NETWORK/SERVICES/MANAGER Int      28.5761952
 6892  SYSTEM/DSS/ROUTER               Int      15.6675936
 7014  SYSTEM/STATION/TRANSFER         Mcs      11.1167616
 6969  SYSTEM/TELNET/WORKER/1          Mcs      3.986976
 7033  SYSTEM/TELNET/WARNING           Mcs      0.0041568
 #ET=0.3 PT=0.2 IO=0.0 

Example 4

This example shows the use of the TASKSTRING keyword. It displays the highest mix number of tasks with a name including the string PMIX. The name of the task is also displayed.

BEGIN JOB JOB/PMIX;
 STRING PARAM; 
TASK PMIX;
 PARAM := "SELECT NAME ==PMIX= SORT - MIXNO " &
                 ":TASKSTRING (MIXNO, NAME)";
 RUN SYSTEM/PMIX (PARAM) [PMIX];
 IF NOT PMIX (SW1) THEN
       DISPLAY (HEAD (PMIX (TASKSTRING), NOT ";"));
 END JOB