Example of defining a class

The following example shows three CLASSADD statements in a parmlib member named ASCHPM1A. Each of the three classes runs different types of TPs. The class named FAST is for TPs with a response time goal of under .01 seconds, while the class named TEST is for testing new TPs before putting them on the production system. MULTI is a special class for a single, continuously running multi-trans TP.

Figure 1. ASCHPM1A
  CLASSADD
    CLASSNAME(FAST)
    MAX(10)
    MIN(2)
    RESPGOAL(.01)
    MSGLIMIT(200)

  CLASSADD
    CLASSNAME(TEST)
    MAX(5)
    MIN(1)
    RESPGOAL(.5)
    MSGLIMIT(300)

  CLASSADD
    CLASSNAME(MULTI)
    MAX(1)
    MIN(1)
    RESPGOAL(.1)
    /* MSGLIMIT will default to 500 */
To activate the APPC/MVS transaction scheduler and these three classes, issue the START command as follows:
  START ASCH,SUB=MSTR,ASCH=1A
If the APPC/MVS transaction scheduler was previously activated, issue the SET command to add the three classes, as follows:
  SET ASCH=1A
To view the status of all classes, issue the DISPLAY ASCH command as follows:
  DISPLAY ASCH,ALL
Figure 2. DISPLAY command output
 ASB101I  10.35.07  ASCH DISPLAY 209
   CLASSES   ACTIVE TRANS   QUEUED TRANS   IDLE INITS    TOTAL INITS
    00003       00005          00001         00000          00005
   REGION       TIME          MSGLEVEL       OUTCLASS      SUBSYS
   0002M       0001,30         1,0              J           JES2
 CLASS=FAST       STATUS=ACTIVE       ACTIVE TRANS=00003  MIN =00002
                  RESPGOAL=0.010000   QUEUED TRANS=00001  MAX=00010
                  DEFAULT=NO          IDLE INITS=00000
  LTPN=PAYROLL
                  STATUS=ACTIVE       WUID=A0000005       ASID=0355
                  TPST=STANDARD       USERID=JOE          QT=*NONE*
                  JOBNAME=PAYROLL
  LTPN=PAYROLL
                  STATUS=ACTIVE       WUID=A0000004       ASID=6A22
                  TPST=STANDARD       USERID=MARY         QT=*NONE*
                  JOBNAME=PAYROLL
  LTPN=MANAGE
                  STATUS=ACTIVE       WUID=A0000003       ASID=0412
                  TPST=STANDARD       USERID=JOHN         QT=*NONE*
                  JOBNAME=MANAGE5
  LTPN=SECURITY
                  STATUS=QUEUED       WUID=A0000002       ASID=0012
                  TPST=STANDARD       USERID=SECURE       QT=000.001S
                  JOBNAME=*NONE*

 CLASS=TEST       STATUS=ACTIVE       ACTIVE TRANS=00001  MIN =00001
                  RESPGOAL=0.500000   QUEUED TRANS=00000  MAX=00005
                  DEFAULT=NO          IDLE INITS=00000
  LTPN=FORMAT
                  STATUS=ACTIVE       WUID=A0000029       ASID=0477
                  TPST=STANDARD       USERID=BARRY        QT=*NONE*
                  JOBNAME=FORMAT

 CLASS=MULTI      STATUS=ACTIVE       ACTIVE TRANS=00001  MIN =00001
                  RESPGOAL=0.100000   QUEUED TRANS=00000  MAX=00001
                  DEFAULT=NO          IDLE INITS=00000
  LTPN=MAIL
                  STATUS=ACTIVE       WUID=A0000001       ASID=0018
                  TPST=MULTITRANS     USERID=DEPT5A       QT=*NONE*
                  JOBNAME=DEPTMAIL