[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

544.0. "event priority question" by BACHUS::WILLEMSG (Geert Willems MCS-Belgium) Thu Jan 05 1995 09:10


	Hi,

	I'm looking for some information about event priorities.

	In VCS we had the following event priorities :
		00/01/99/100	: reserved to VCS
		02-29		: green
		30-59		: yellow
		60-98		: red

	In PCM we have :
		interminate    	: light blue
		clear		: green
		warning		: yellow
		minor		: orange
		major		: magenta
		critical	: red
	Is there also a priority(number) associated ? Which ?
	I need to know this because we have a customer that
	pumps the info gathered via VCS to PSW.
	Now, he wants to do the same with PCM to PSW. In fact the pump
	between VCS(PCM) and PSW is an action(DCL) routine in VCS(PCM)
	that tests on the priority( ie. 49) and sends a message to PSW
	if the priority>'some value'.

	In didn't find this in the docs.
	Thanks in advance.
	Rgds,

	Geert	 

T.RTitleUserPersonal
Name
DateLines
544.1OPG::SIMONThu Jan 05 1995 10:0619
Geert,
     the priorities used in PCM relate to the ISO defined priority levels. It
was decided to use a standard set rather than arbitrary numeric values. Also
at the time of designing ENS the DECMCC product used the same ISO standard
values.

From the point of view of matching VCS numerics to PCM ISO standards we do not
do any particulat correlation.

The levels are in decsending order:

			CRITICAL
			MAJOR
			MINOR	
			WARNING
			CLEAR
			INDETERMINANT

Cheers Simon...
544.2OPG::PHILIPAnd through the square window...Thu Jan 05 1995 10:1633
Geert,

  In SYS$LIBRARY:CONSOLE.H you will find the following definition for the 
  priorities...

/*
**
** Priority codes
**
*/

typedef enum _CMPriorityLevel
{
    CMPriorityAll = 0,
    CMPriorityNone = 0,
    CMPriorityCritical,
    CMPriorityMajor,
    CMPriorityMinor,
    CMPriorityWarning,
    CMPriorityClear,
    CMPriorityIndeterminate,
    CMPriorityNoMore
} CMPriorityLevel;

  NOTE however that priority all, none and nomore will never be seen by an 
  action routine, we use those internally.

  However, I notice that you are using DCL so the priority will be passed to 
  your action routine as a string e.g. "CRITICAL"


Cheers,
Phil