INHERR4 ;DJL; 17 Nov 97 11:59;Interface - Error Search
Source file <INHERR4.m>
| Package | Total | Call Graph | 
|---|---|---|
| IHS Generic Interface System | 1 | ERR^INHMS2 | 
| Uncategorized | 1 | $$YN^UTSRD | 
| Package | Total | Caller Graph | 
|---|---|---|
| IHS Generic Interface System | 4 | INHERR INHES INHUTC4 INHUTC6 | 
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| SRCHSIZE(INSRCH,INFILE) | ; Determine the expected search size ; MODULE NAME: SRCHSIZE ( Determine the expected Search Size ) ; DESCRIPTION: Determine the expected number of errors that will ; be searched. Warn of very large searches and provide ; a mechanism to abort the search. ; Uses the Start-Date and End-Date of span to search to ; determine the size(approximate). ; RETURNS: -1 = The user aborted the search ; Number of errors in the search ; PARAMETERS: ; INSRCH(PBR) = Array for holding search criteria information ; INFILE(PBV) = The file/global to use ; CODE BEGINS | |
| GETDATE(INSTART,INEND) | ; setup the date/time ; MODULE NAME: GATHER ( Search Criteria Gathering Routine ) ; DESCRIPTION: Set the start and end times appropriately ; for a search by assigning END if not set, ; setting to the start of end of the day selected, ; and arranging the start and end variables ; to a Past-to-Recent ordering. ; RETURN = none ; PARAMETERS: ; INSTART(PBR) = Variable containing the start date ; INEND(PBR) = Variable containing the end date ; CODE BEGINS | |
| GATHER(INSRCH,INDA,IND,INRVSRCH) | ; Collect search criteria data ; MODULE NAME: GATHER ( Search Criteria Gathering Routine ) ; DESCRIPTION: Gather the list of user selected search criteria and ; manipulate IND search starting variable depending on ; the INVRSRCH flag setting. Notify the user if the ; search may span a large numbe of errors and give ; the option of discontinuing the search ; RETURN = none ; PARAMETERS: ; INSRCH(PBR) = Array for holding search criteria information ; INDA(PBV) = Unique IEN into ^INTHU(4001.1) where ^DWC puts the ; user entered search criteria information ; IND(PBR) = The starting time/date of the search set from information ; in INSRCH and determined by INRVSRCH flag ; INRVSRCH(PBR) = Flag set user indicating direction of the search ; -1 = (default)a reverse listing order. Newest to Oldest ; 1 = a forward search listing order. Oldest to Newest ; CODE BEGINS | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
 | 
| Name | Line Occurrences (* Changed, ! Killed) | 
|---|---|
| ^DIZ(4001.1 - [#4001.1] | GATHER+20, GATHER+21, GATHER+23, GATHER+25, GATHER+32*, GATHER+34* | 
| Name | Line Occurrences | 
|---|---|
| GETDATE | GATHER+26, GATHER+30 | 
| >> | Not killed explicitly | 
| * | Changed | 
| ! | Killed | 
| ~ | Newed | 
| Name | Field # of Occurrence | 
|---|---|
| DT | GETDATE+16 | 
| IND | GATHER~, GATHER+35* | 
| INDA | GATHER~, GATHER+20, GATHER+21, GATHER+23, GATHER+25, GATHER+32, GATHER+34 | 
| INEND | GATHER+18~, GATHER+25*, GATHER+26, GATHER+29*, GATHER+30, GETDATE~, GETDATE+13*, GETDATE+16*, GETDATE+18*, GETDATE+19 , GETDATE+21*, GETDATE+22, GETDATE+23*, GETDATE+24*, GETDATE+27*, GETDATE+28* | 
| INFILE | SRCHSIZE~, SRCHSIZE+15, SRCHSIZE+16 | 
| INMSGCT | SRCHSIZE+13~, SRCHSIZE+16*, SRCHSIZE+17, SRCHSIZE+18 | 
| INNODE | GATHER+18~, GATHER+19*, GATHER+20*, GATHER+21*, GATHER+22*, GATHER+23* | 
| INRVSRCH | GATHER~, GATHER+36* | 
| INSIZE | SRCHSIZE+13~, SRCHSIZE+15*, SRCHSIZE+16*, SRCHSIZE+19*, SRCHSIZE+20 | 
| INSRCH | GATHER~, SRCHSIZE~ | 
| INSRCH( | GATHER+20*, GATHER+22* | 
| INSRCH("INEND" | GATHER+25*, GATHER+26*, GATHER+35, SRCHSIZE+16, SRCHSIZE+17 | 
| INSRCH("INMSGEND" | GATHER+28, GATHER+29, GATHER+30* | 
| INSRCH("INMSGSTART" | GATHER+28, GATHER+29, GATHER+30* | 
| INSRCH("INORDER" | GATHER+34*, GATHER+35, GATHER+36 | 
| INSRCH("INSTART" | GATHER+25, GATHER+26*, GATHER+35, SRCHSIZE+15 | 
| INSRCH("INTEXT" | GATHER+23*, GATHER+32 | 
| INSRCH("INTYPE" | GATHER+32* | 
| INSRCHEN | GATHER+18~, SRCHSIZE+13~, SRCHSIZE+16* | 
| INSRCHST | GATHER+18~, SRCHSIZE+13~, SRCHSIZE+16* | 
| INSTART | GATHER+18~, GATHER+25*, GATHER+26, GATHER+29*, GATHER+30, GETDATE~, GETDATE+13*, GETDATE+15*, GETDATE+18, GETDATE+19 , GETDATE+22*, GETDATE+29* | 
| INTEMP | GATHER+18~, GATHER+21*, GATHER+22, GETDATE+12~, GETDATE+22*, GETDATE+23, GETDATE+24, SRCHSIZE+13~, SRCHSIZE+15*, SRCHSIZE+16* , SRCHSIZE+17 | 
| INWRNSZ | SRCHSIZE+13~, SRCHSIZE+15*, SRCHSIZE+17 | 
| U | GATHER+22 | 
| X | GATHER+18~, GATHER+20*, GATHER+22* |