| Name | Value | 
|---|---|
| NAME | LA7TASK NIGHTY | 
| MENU TEXT | Lab Messaging Nightly Cleanup | 
| UPPERCASE MENU TEXT | LAB MESSAGING NIGHTLY CLEANUP | 
| INDEPENDENTLY INVOCABLE | YES | 
| PACKAGE | AUTOMATED LAB INSTRUMENTS | 
| SCHEDULING RECOMMENDED | YES | 
| ROUTINE | EN^LA7PURG | 
| DESCRIPTION | 
This is a tasked option to check integrity of LA7 MESSAGE QUEUE file
Prior to the purge of LA7 MESSAGE QUEUE file (#62.49), an integrity check is
performed. The integrity check can be run with a couple of switches.
   LA7FIX = 0 - do not fix errors
            1 - do fix errors
   LA7LOG = 0 - do not log errors in XTMP global.
            1 - do log errors in XTMP global
   LA7ION = name of device to print error report if set to
(#62.49) and purge messages that are eligible for purging. It also purges
            log errors (LA7LOG=1).
These parameters can be setup by TaskMan if the site defines them when
scheduling the task. 
An example is given below:
                        Edit Option Schedule
    Option Name: LA7TASK NIGHTY
the following files related to LEDI - SHIPPING MANIFEST (#62.8), LAB
    _____________________________________________________________________
    VARIABLE NAME: LA7FIX                   VALUE: 0
    VARIABLE NAME: LA7ION                   VALUE: "IRM DEVELOP LASER1"
    VARIABLE NAME: LA7LOG                   VALUE: 1
SHIPPING EVENT (#62.85) and LAB PENDING ORDERS ENTRY (#69.6)
If errors are found, an alert is sent to members of the mail group
"LAB MESSAGING" notifying them that errors were detected. If logging of
errors occurred then alert recipients will be able to print/view error log
from the alert system. Alternatively the error report can be printed using
option Print Lab Messaging Integrity Check [LA7 PRINT INTEGRITY CHECK].
The integrity report can be run alone using option Lab Messaging File
Integrity Checker [LA7 CHECK FILES].
This option should be tasked daily, preferably during period when activity
in the Lab Messaging (i.e. Universal Interface, LEDI) package is at a
minimum.
 | 
| CREATOR | ADAM,ADAM | 
| TYPE | run routine |