BPSOSUE ;BHAM ISC/FCS/DRS/FLS - impossible errors ;03/07/08 10:42
Source file <BPSOSUE.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
IMPOSS(UETYPE,UEOPT,UEMSG,UEMSG2,UELOC,UEROU,UENOLOG) | ;EP - deal with impossible errors - called from many places
; $$IMPOSS^BPSOSUE(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 | ||
LOGERR | ; log an error
; ^TMP($J,$T(+0),$J)=DUZ^$H last time we did this |
|
LOG2 | ;
|
|
HALT | ; halt
|
|
TEST | ;
|
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($J | LOGERR+2, LOG2+5* |
>> | 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+59 |
IOF | IMPOSS+58 |
IORVOFF | IMPOSS+60~, IMPOSS+84 |
IORVON | IMPOSS+60~, IMPOSS+62 |
MYEXMSG | TEST+1~, TEST+2 |
MYEXMSG( | TEST+1* |
R | MSG+4~* |
U | LOGERR+3, LOGERR+4, LOG2+5 |
UECHOICE | IMPOSS+57*, IMPOSS+86~*, QD+2, QD+5 |
UELOC | IMPOSS~, IMPOSS+64, IMPOSS+66 |
UEMSG | IMPOSS~, IMPOSS+83 |
UEMSG2 | IMPOSS~, IMPOSS+83 |
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+64, IMPOSS+67 |
UETYPE | IMPOSS~, IMPOSS+69, IMPOSS+70, IMPOSS+71, IMPOSS+73, IMPOSS+75, IMPOSS+77, IMPOSS+79, CHOICE+8 |
X | IMPOSS+61~*, 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 |