; Build the error array
; MODULE NAME: LIST ( Build the list of matching errors )
; DESCRIPTION:
; loop through the errors from date-start to date-end and
; give the user a progress indicator
; PARAMETERS:
; INQUIT(PBV) = 0 = The program completed properly
; 1 = No matching errors were found
; IND(PBV) = The starting time/date of the search set from information
; in INSRCH and determined by INRVSRCH flag
; INSRCH(PBR) = Array for holding search criteria information
; DWLRF(PBV) = Settings for the Display Processor
; INRVSRCH(PBV) = Flag set user indicating direction of the search
; -1 = (default)a reverse listing order. Newest to Oldest
; 0 = a forward search listing order. Oldest to Newest
; INL(PBR) = Array used to load with error items matching the criteria
; INSRCHCT(PBV) = The combined count of error items searched
; CODE BEGINS
MSGTEST(INEIEN,INLIST,INSRCH,INSRCHCT,INFNDCT)
; Add matching error to array
; MODULE NAME: MSGTEST ( Interface Error Match Criteria Test )
; DESCRIPTION: Tests the error for matches to values passed in third
; parameter array nodes and addes the IEN to the second
; parameter array. Updates counters accordingly.
; RETURN = none
; PARAMETERS:
; INEIEN(PBV)= IEN into ^INTHER
; INLIST(PBR) = The NAME of the array to add items found
; INSRCH(PBR) = The array of items to find
; INSRCHCT(PBR) = The count of errors searched
; INFNDCT(PBR) = The count of errors found
; CODE BEGINS
POST(INNAME,INTEMPLT,INFILE)
; Disply/Print
; MODULE NAME: POST ( Post-action logic on List Processor field )
; DESCRIPTION: Display/print using template passed on file passed
; RETURN = none
; PARAMETERS:
; INNAME(PBV) = A NAME of an Array of IEN's into the file of items
; selected for displaying/printing
; INTEMPLT(PBV) = Print template to use
; INFILE(PBV) = The file to use