MDCPURG ;HINES OIFO/DP - CP Nightly Purge Options;27 Jan 2008
Source file <MDCPURG.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; Not called interactively
|
|
CP | ; CP Legacy Cleanup
|
|
CLIO | ; CliO Background Cleanup
|
|
PURGEOBS(MDDA) | ; Gathers the pointers for a single observation
|
|
HL7 | ; Purges HL7 data from 704.002
|
|
QUERIES | ; Clear the cached queries nightly
|
|
CLEARQ | ; Clear Queries Cache - Ignores script settings
|
|
GETPAR(TASKID) | ; Get Task in Parameter File
|
|
SETPAR(TASKID,ZTSK,NAME,RTN,RECUR) | ;
|
|
ZTSK(TASKID) | ; Taskman ID - According to MD PARAMETERS, creates one if missing
|
|
DESC(TASKID) | ; Task Description
|
|
RTN(TASKID) | ; Task Routine
|
|
ZTREQ(TASKID) | ; Taskman re-queue identifier
|
|
RECUR(TASKID) | ; Task Recurrence
|
|
START | ; Queue the task to be ran @ P2(0)
; P2(0)=TASK ID as stored in XPAR (i.e. the name of the background task) |
|
STOP | ; Stop the task (i.e. dequeue)
|
|
STAT | ; GET THE STATUS OF THE PURGE JOB
|
|
GETTASKS | ; Get list of the known tasks
|
|
BLD | ; Build the known tasks
|