ABSPOSUE ; IHS/FCS/DRS - impossible errors ;
Source file <ABSPOSUE.m>
Package | Total | Call Graph |
---|---|---|
Kernel | 3 | HOME^%ZIS ENDR^%ZISS H^XUS |
Pharmacy Point of Sale | 1 | $$IMPOSS^ABSPOSUE |
VA Fileman | 1 | ^DIR |
Name | Comments | DBIA/ICR reference |
---|---|---|
LOG2 | ;
|
|
HALT | ; halt
|
|
LOGERR | ; log an error
; ^TMP($T(+0),$J)=DUZ^$H last time we did this |
|
TEST | ;
|
|
IMPOSS(UETYPE,UEOPT,UEMSG,UEMSG2,UELOC,UEROU,UENOLOG) | ;EP - deal with impossible errors - called from many places
; $$IMPOSS^ABSPOSUE(UETYPE,UEOPT,UEMSG,UELOC,UEROU) ; UETYPE = kinds of problems which may have occured ; ["FM" a Fileman call has returned an error ; ["L" a LOCK with ample time has failed ; ["DB" a database error (some missing/incorrect field) ; ["P" a programming error / some unexpected condition ; ["DEV" some kind of device or file error ; UEOPT = options available; first one listed is the default ; Defaults to "TRI" ; ["R" retry - retry the operation; log err ; ["I" ignore - continue as though operation had succeeded; log err ; ["T" abort - log err and terminate ; UEMSG = optionally, an additional message to output ; can be .MSG, and we'll walk the array for you. ; UEMSG2 = even more message, like UEMSG. In a Fileman call failure, ; you'd probably send .FDA,.MSG ; UELOC = location, any number or name unique to the calling routine ; UEROU = the name of the calling routine ; UENOLOG = true if you do not want error log entry to be made |
|
QD | ;
|
|
MSG(X) | ; display message, directly or in array
|
|
CHOICE() | ; given UEOPT[letters, UETYPE too
|
|
CH5 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZOSF("ERRTN" | LOG2+4 |
^TMP( | LOGERR+2, LOG2+5* |
Name | Line Occurrences |
---|---|
$$CHOICE | IMPOSS+89 |
@( | LOG2+4 |
CH5 | CHOICE+3 |
HALT | QD+2 |
LOG2 | LOGERR+3, LOGERR+4, LOGERR+5 |
LOGERR | QD+1 |
MSG | IMPOSS+86 |
QD | IMPOSS+57 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DIR | CHOICE+2~ |
DIR("B" | CHOICE+10* |
DIR(0 | CHOICE+4*, CHOICE+9* |
DUZ | LOGERR+3, LOG2+5 |
I | TEST+1~* |
IO | IMPOSS+62 |
IORVOFF | IMPOSS+63~, IMPOSS+87 |
IORVON | IMPOSS+63~, IMPOSS+65 |
MYEXMSG | TEST+1~, TEST+2 |
MYEXMSG( | TEST+1* |
R | MSG+4~* |
U | LOGERR+3, LOGERR+4, LOG2+5 |
UECHOICE | IMPOSS+57*, IMPOSS+89~*, QD+2, QD+4 |
UELOC | IMPOSS~, IMPOSS+67, IMPOSS+69 |
UEMSG | IMPOSS~, IMPOSS+86 |
UEMSG2 | IMPOSS~, IMPOSS+86 |
UENOLOG | IMPOSS~, LOG2+1 |
UEOPT | IMPOSS~, IMPOSS+56*, IMPOSS+57, CHOICE+1*, CHOICE+3, CHOICE+5, CHOICE+6, CHOICE+7, CHOICE+10 |
UEROU | IMPOSS~, IMPOSS+67, IMPOSS+70 |
UETYPE | IMPOSS~, IMPOSS+72, IMPOSS+73, IMPOSS+74, IMPOSS+76, IMPOSS+78, IMPOSS+80, IMPOSS+82, CHOICE+8 |
X | IMPOSS+64~*, MSG~, MSG+1, MSG+2, MSG+3, CHOICE+2~, CHOICE+3*, CHOICE+4*, CHOICE+5*, CHOICE+6* , CHOICE+7*, CHOICE+8*, CHOICE+9, CH5, LOGERR+2~*, LOGERR+3, LOGERR+4*, LOGERR+5*, TEST+2~*, TEST+3 |
Y | CHOICE+2~ |
>> ZTQUEUED | IMPOSS+57, LOGERR+6, LOG2+2, LOG2+6 |
Name | Field # of Occurrence |
---|---|
$T( | LOGERR+2, LOG2+5 |