NAME |
XOBU TERMINATE JOBS UTILITY MENU |
ITEM TEXT |
Terminate Jobs Utility |
ITEM |
|
PACKAGE |
FOUNDATIONS |
SCREEN |
I 1 X:$D(^ORD(101,+$P(^ORD(101,DA(1),10,DA,0),"^",1),24)) ^(24) |
HEADER |
DO SHOW^VALM |
MENU PROMPT |
Select Action: |
DESCRIPTION |
This general purpose tool helps sites terminate Cache jobs in a specified
the utility before the utility can display the jobs that meet the
criteria.
For example, for VistALink the code that executes the utility is the
following:
VL ; -- entry point for VistALink socket job cleanup
NEW XOBSEL
DO VLSEL(.XOBSEL)
DO EN^XOBUZAP(.XOBSEL)
state and routine.
QUIT
;
VLSEL(XOBSEL) ; -- setup VistALink connection socket job selection
; criteria
; -- routine name the job should be executing
SET XOBSEL("ROUTINE")="XOBVSKT"
; -- state the routine should be in
; A list of valid jobs sates can be found at STATE^XOBUZAP / 5 = READ
SET XOBSEL("STATE")=5
; -- optional title to be used by ListManager
SET XOBSEL("TITLE")="VL/J2M Connection Terminator"
QUIT
;
Cluster Note: The utility must be run in the namespace on each box in a
cluster.
The immediate use for the utility is help sites terminate socket
connections for VistALink and Broker. It would be used during VistALink
and Broker upgrades to safely terminate connection jobs in a 'READ' state.
It is up to these applications to supply the necessary option that
accesses this utility. They must specific the job selection criteria to
|
TYPE |
menu |
COLUMN WIDTH |
40 |
MNEMONIC WIDTH |
4 |
CREATOR |
USER,SEVENTEEN |
TIMESTAMP |
2011-01-20 11:03:04 |