; Has number entries w/o purging any been exceeded?
KILL773(HLIEN,HLLT773,HLDELCNT)
; delete in file 773
CHK772(HLPDT,HLDELCNT,HLEXIT)
; Check file 772 for parents and children
TASKIT
; Queue task to run in the background
CHK4STOP(HLEXIT)
;
; HL*1.6*109 modified from 60 to 120...
UPDP4(FNO)
; Update piece 4 of file's zero node...
KILL772(HLIEN,HLLT772,HLDELCNT)
;
PURGE
;
; HLPDT("COMP") - 'completed' status cutoff date
; HLPDT("WAIT") - 'awaiting ack' status cutoff date
; HLPDT("ERR") - 'error' status cutoff date
; (=0 means don't delete msgs in 'error' status)
; HLPDT("ALL") - all other status (except 'error') cutoff date
CHK773(HLPDT,HLDELCNT,HLEXIT)
; Check file 773
INIT(HLPDT,HLTASK,HLEXIT)
; Get data from file #869.3
DQ
; Entry point for running purge of HL7 message text