Table of Contents

Common manager module

Module SYSMGRM Common manager module

Description

contains commoninformation about managers:
- codetable of field MGRNAM contains all required managers of the
installation
- GetStartCmd contain logic how these managers can be started


Properties

Property YES/NO
Single page frame No
Show toolbar No
Show menu No
Show statusbar No
Show hint No
Fit panel size No

Datafields

Name Description Data Type Len Dec. View lines View type Inst. Visible Codetable
MGRNAM Manager Text 6 1 20 Edit Yes Public Embedded
ININAM INI file Text 8 1 Edit Yes Public
INISTM Stream of INI Files Stream 1 0 Source Yes Public
BUTSAV Save Control 24 1 Button Yes Public

Datafield Description and Properties

Datafield MGRNAM Manager

Description

Embedded codetable for MGRNAM defines the list of managers that are expected to run in this installation. This information is used in SYSMGR and SYSWDx (watchdog). If there are manager which shall _not_ be automatically restarted by the SYSWDR this logic can be implemented in the rule OkToRestartMgr in this module.

Codetable
Code Text
mgrtsk Outgoing Workflow Manager
switsk Incoming Messages Server
spttsk Pending Items Manager
syswdr Watchdog
jobtsk Job Manager
quetsk User Task Manager
pdxtsk Recalc Exchange Rates
imptsk Import Manager
mqitsk MQ Manager
smctsk Manager for Web Service Req.

Rules

Rule Name Additional
default ININAM
default INISTM
event BUTSAV
function GetINIFiles text
function GetQueNamForLog text method
function GetStartCmd text method
function OkToRestartMgr boolean method

Rules Description and Comments

function GetINIFiles : text

central rule to provide the list of configured manager instances for a currently selected manager


function GetQueNamForLog( in argMGRNAM text, in argININAM text ) : text method

return queue name to be used for logs


function GetStartCmd( in argMGRNAM text, in argININAM text ) : text method

central rule to return a potential specific start/launch command line for a manager
and instance name pair executable on the current system context.

argMGRNAM holds the name of the manager to be used (typically the transaction name)
argININAM holds the instance name of the manager instance to be brought up


function OkToRestartMgr( in ArgNam text ) : boolean method

Function to check whether a special manager shall be restarted

ArgNam gets the manager name to be checked

The function normally should return true to allow the automatic restart of a manager.
In case the rule returns false, the automatic restart function of the watchdog will not
automatically start and restart this manager. In case of shutting down the system
a running instance of a manager which shall not be started/restarted would be shut down.