Print Page as PDF
XUSCLEAN ICR (10052)

XUSCLEAN    ICR (10052)

Name Value
NUMBER 10052
IA # 10052
DATE CREATED 2011/02/08
CUSTODIAL PACKAGE KERNEL
CUSTODIAL ISC San Francisco
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE XUSCLEAN
NAME XUSCLEAN
ORIGINAL NUMBER 10052
STATUS Active
ID XUSCLEAN
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION
KILL
Clear all but Kernel Variables (in Sign-on/Security
chapter)
XUTL
Will delete $JOB ($J) subscripted temporary globals
as follows:

^TMP($J) and ^TMP(subscript,$J)

^UTILITY($J), and ^UTILITY(subscript,$J) (subscripts ROU, GLO, LRLTR will
NOT be deleted)

^XUTL($J) and ^XUTL(subscript,$J)  (subscripts XQO, XGATR, XGKB will NOT
be deleted)

Will also delete ^XUTL("ZISPARAM",$I) and clean up FileMan variables
(calls CLEAN^DILF).
TOUCH
If a task appears to have been running longer than 7
days, Kernel assumes that it really isn't running anymore and kills off its
temp global and user stack.

If your task legitimately runs more than 7 days, your task should call
TOUCH^XUSCLEAN once a day to notify Kernel.  This API sets
^XUTL("XQ",$J,"KEEPALIVE")=$H.

If Kernel sees this node, and $H is less than 7 days ago, Kernel will leave
your task alone, unless it determines that your task is really dead. If $H is
more than 7 days ago, Kernel will assume your task is dead.

There are no inputs or outputs.

DATE ACTIVATED: FEB 08, 2011