Print Page as PDF
Check TaskMan State ICR (2718)

Check TaskMan State    ICR (2718)

Name Value
NUMBER 2718
IA # 2718
GLOBAL ROOT %ZTSCH('WAIT')
DATE CREATED 1999/01/20
CUSTODIAL PACKAGE KERNEL
CUSTODIAL ISC San Francisco
USAGE Private
TYPE File
DBIC APPROVAL STATUS APPROVED
NAME Check TaskMan State
GENERAL DESCRIPTION
FileMan KIDS Enviromental Check routines:
DIENVWRN (Warn the installer, but allow the install to continue)
and
DIENVSTP (Stop the install)

need to check TaskMan's enviroment to see if TaskMan is in a STOPed state or
is in the "WAIT" state.  There is a supported call to: $$TM^%ZTLOAD which
returns whether or not TaskMan is running, but not if TaskMan is in a "WAIT"
state.  The following code is used in routines DIENVWRN and DIENVSTP to check
for these conditions:

TMCHK    ; Check to see if TaskMan is still running
S X=$$TM^%ZTLOAD
I X,'$D(^%ZTSCH("WAIT")) D

FileMan would like a temporary  intergration agreement, with the Kernel, until
such time as $$TM^%ZTLOAD can return all three conditions Running, Waiting,
and Stopped.
STATUS Active
DURATION Till Otherwise Agreed
ID %ZTSCH('WAIT')
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
VA FILEMAN Oakland