Previous Topic: 00004: Interactive TSO Compilation Service Objective Missed

Next Topic: 00007: Unauthorized Use of Program by TSO User

00005: Game Played During TSO Prime-Time


FILE              TSO Interactive Usage Activity
SAS FILE NAME     DETAIL.TSOTSI01
SOURCE LOCATION   sharedprefix.MICS.SOURCE(DYTSOEXC)

SEVERITY          Warning       (SEVERITY='W')
MANAGEMENT AREA   Standards     (MGMTAREA='STANDARDS')

PURPOSE      Identifies users playing STARTREK, HEARTS, or
             other specified games during TSO prime time.

RATIONALE    An installation can monitor users who are not
             using TSO productively during prime time, and
             can enforce restrictions to keep resources
             available for productive work.

DEFINITION   This exception is detected when a TSO user calls
             the STARTREK, HEARTS, or other specified games.

EXCEPTION    The SAS statements identifying the exception
STATEMENTS   situation and describing the condition are
             stored in the source member named in SOURCE
             LOCATION and are described below:

************************************************************;
*
**  00005
**  GAME PLAYED DURING TSO PRIME-TIME
*;
IF  (PROGRAM='STARTREK'
 OR PROGRAM='HEARTS'
 OR PROGRAM='program-name'
 AND prime-time-hours
 AND prime-time-days
 THEN DO;
    EXCCODE='00005'; SEVERITY='W'; MGMTAREA='STANDARDS';
    EXCDESC1='GAME PLAYED DURING TSO PRIME-TIME';
    EXCDESC2='USE COUNT=' || PUT(TSINOEXS,3.);
    LINK HIT;
END;

THRESHOLD     Modify the list of games and specify the prime
MODIFICATION  time contained in the definition string
              according to the following conventions:

    program/command-name  The name of the command or program
                          is specified as a one to eight
                          character alphanumeric field, and
                          must be enclosed in quotes as a
                          standard SAS character literal.
                          Additional program/command names
                          must be connected to the list with
                          an OR.  For the game named COFFEE,
                          the specification would be:

                    OR COMMAND='COFFEE' OR PROGRAM='COFFEE'

    prime-time-hours      The hour range to be included in
                          the exception is specified.  The
                          general form of hour range
                          specification is:

                             AND (hh1<=HOUR AND HOUR<=hh2)

                          The hour of the day must be within
                          the hh1 through hh2 range.  Prime
                          time specified as 8 a.m.  through
                          6:59 p.m.  (18:59) would appear as:

                             AND ( 8 <=HOUR AND HOUR<= 18 )

    prime-time-days       The days of the week to be included
                          in the exception are specified by
                          the first three characters of their
                          names.  They must be enclosed in
                          quotes and separated with ORs.  The
                          general form of days specification
                          is:

         AND (DAYNAME='day' OR DAYNAME='day' OR DAYNAME='day'
         OR DAYNAME='day' OR DAYNAME='day' OR DAYNAME='day')

                          Prime time specified as MONDAY
                          through FRIDAY would appear as:

         AND (DAYNAME='MON' OR DAYNAME='TUE' OR DAYNAME='WED'
         OR DAYNAME='THU' OR DAYNAME='FRI' )