IBCNOR2 ;AITC/TAZ - IBCN BUFFER DAILY REPORT ;15-AUG-2023
Source file <IBCNOR2.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 |
Package | Total | Caller Graph |
---|---|---|
Integrated Billing | 2 | IBCN DAILY BUFFER REPORT IBCNINS |
Name | Comments | DBIA/ICR reference |
---|---|---|
DBR | ; Send Daily Buffer Report Email
|
|
DBRX | ; Exit
|
|
;Email a summary version of the report to a select email group
|
||
EMAILX | ; Exit
|
|
EN | ; entry point
|
|
TYPE | ;Type of Report
|
|
IBOUT | ;
|
|
DEVICE | ; Device Handler and possible TaskManager calls
|
|
EXIT | ;
|
|
PROCESS(IBCNSPC) | ;
; Entry point called from EN^XUTMDEVQ in either direct or queued mode. ; Input params: ; IBCNSPC = Array passed by ref of the report params |
|
PROCESSX | ; exit
; Kill scratch globals |
|
SNAPSHOT | ;Grab a snapshot of the data right now.
|
|
BACKLOG(DATE,WED) | ;Calculate Backlog Date to T-6 business days so that T-7 inclusive shows on the report.
|
|
BACKLOGX | ;Exit Backlog Date calculation
|
|
INIT | ;Initialize the ^TMP global
|
|
INITX | ;Exit
|
|
COMPILE | ; Compile the report
|
|
COMPILEX | ; Exit Compile
|
|
UPDATE(LVL,NODE) | ;Increase a node
|
|
UPDATEX | ;Exit
|
|
OLDDATE(LVL,NODE,DATE) | ; Calculate the oldest date for the categories tracked.
|
|
OLDDATEX | ; Exit oldest date calculation
|
|
; Print the report
|
||
PRINTX | ; Exit Print
|
|
FMTDT(DATE) | ;Format the date
|
|
FMTDTX | ;Exit
|
|
WRTLN(TITLE,NODE,DTYPE,LEVEL) | ;Write the line
|
|
WRTLNX | ;Exit
|
|
HDR | ;Print Header
|
|
HDRX | ; Header Exit
|
|
EOP(END) | ; display "end of page" message and set exit flag
|
|
EOPQ | ;
|
|
CATNDT | ; Report categories with no oldest date
|
|
CATWDT | ; Report categories with oldest date
|
|
TOTALS | ;Category Totals
|
Name | Field # of Occurrence |
---|---|
^%ZTLOAD | DBR+22 |
$$S^%ZTLOAD | HDR+2 |
$$GET1^DIQ | DBR+4, DBR+6, EMAIL+2 |
GETS^DIQ | SNAPSHOT+19 |
^DIR | TYPE+6, IBOUT+6, EOP+8 |
FLAGS^IBCNBLL | SNAPSHOT+22 |
MSG^IBCNEUT5 | EMAIL+13 |
$$SITE^VASITE | EMAIL+10 |
$$DOW^XLFDT | BACKLOG+2 |
$$FMADD^XLFDT | SNAPSHOT+3, BACKLOG+3, BACKLOG+4, BACKLOG+5, BACKLOG+6, BACKLOG+7, BACKLOG+8, BACKLOG+9 |
$$FMDIFF^XLFDT | SNAPSHOT+31 |
$$FMTE^XLFDT | PRINT+3, FMTDT+1 |
$$FMTH^XLFDT | DBR+11 |
$$NOW^XLFDT | PRINT+3 |
$$RJ^XLFSTR | WRTLN+7, WRTLN+20, WRTLN+34, WRTLN+43 |
$$UP^XLFSTR | COMPILE+9 |
EN^XUTMDEVQ | DEVICE+11 |
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: WRITE |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^IBE(350.9 - [#350.9] | GET1^DIQ |
^IBA(355.33 - [#355.33] | GETS^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^IBA(355.33 - [#355.33] | SNAPSHOT+6, SNAPSHOT+10, SNAPSHOT+12 |
^TMP($J | EMAIL+3!, PROCESS+7!, PROCESSX+2!, SNAPSHOT+13*, SNAPSHOT+20*, SNAPSHOT+23*, SNAPSHOT+24*, SNAPSHOT+25*, SNAPSHOT+26*, SNAPSHOT+30 , SNAPSHOT+31*, INIT+5*, INIT+8*, INIT+9*, INIT+13*, COMPILE+4, COMPILE+7, COMPILE+37, COMPILE+38*, COMPILE+39* , UPDATE+4*, OLDDATE+2, OLDDATE+3, OLDDATE+6*, PRINT+10, PRINT+11, PRINT+12, PRINT+13, PRINT+14, PRINT+43 , WRTLN+6, WRTLN+11, WRTLN+19, WRTLN+24, WRTLN+32, WRTLN+40 |
Name | Line Occurrences |
---|---|
$$BACKLOG | SNAPSHOT+2, SNAPSHOT+3 |
$$FMTDT | PRINT+10, WRTLN+13, WRTLN+26, WRTLN+33 |
BACKLOGX | BACKLOG+3, BACKLOG+4, BACKLOG+5, BACKLOG+6, BACKLOG+7, BACKLOG+8, BACKLOG+9 |
COMPILE | PROCESS+17 |
DBRX | DBR+4, DBR+7 |
EMAILX | EMAIL+2 |
EOP | PRINTX+1, HDR+3 |
EOPQ | EOP+5 |
EXIT | TYPE+7, IBOUT+7 |
HDR | PRINT+7, WRTLN+4 |
HDRX | HDR+2, HDR+3, HDR+11 |
INIT | PROCESS+16 |
OLDDATE | UPDATE+5 |
OLDDATEX | OLDDATE+2 |
EMAIL+8, PROCESS+19 | |
PRINTX | PRINT+7, PRINT+8, PRINT+16, PRINT+17, PRINT+18, PRINT+19, PRINT+20, PRINT+21, PRINT+22, PRINT+23 , PRINT+24, PRINT+25, PRINT+26, PRINT+27, PRINT+28, PRINT+29, PRINT+30, PRINT+31, PRINT+32, PRINT+33 , PRINT+34, PRINT+35, PRINT+36, PRINT+37, PRINT+38, PRINT+39, PRINT+40, PRINT+41 |
PROCESSX | EMAIL+6, PROCESS+12, PROCESS+15 |
SNAPSHOT | EMAIL+6, PROCESS+12 |
UPDATE | COMPILE+8, COMPILE+11, COMPILE+12, COMPILE+13, COMPILE+14, COMPILE+16, COMPILE+17, COMPILE+18, COMPILE+19, COMPILE+20 , COMPILE+21, COMPILE+23, COMPILE+26, COMPILE+28, COMPILE+29, COMPILE+30, COMPILE+31, COMPILE+32, COMPILE+34, COMPILE+40 |
UPDATEX | UPDATE+2, UPDATE+3 |
WRTLN | PRINT+16, PRINT+17, PRINT+18, PRINT+19, PRINT+20, PRINT+22, PRINT+23, PRINT+24, PRINT+25, PRINT+26 , PRINT+27, PRINT+28, PRINT+29, PRINT+30, PRINT+31, PRINT+32, PRINT+33, PRINT+34, PRINT+35, PRINT+36 , PRINT+37, PRINT+38, PRINT+39, PRINT+40, PRINT+41, PRINT+44 |
WRTLNX | PRINT+9, PRINT+15, WRTLN+5, WRTLN+15, WRTLN+18, WRTLN+28, WRTLN+31, WRTLN+38, WRTLN+39, WRTLN+47 , HDR+8, HDR+9, HDR+10, HDR+12, HDR+13, EOP+3, EOP+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARRAY | COMPILE+6~, COMPILE+7* |
ARRAY( | COMPILE+9, COMPILE+36, UPDATE+5 |
ARRAY("FLAGS" | COMPILE+25 |
BACKLOG | SNAPSHOT+1~, SNAPSHOT+2*, SNAPSHOT+17, BACKLOG+1~, BACKLOG+3*, BACKLOG+4*, BACKLOG+5*, BACKLOG+6*, BACKLOG+7*, BACKLOG+8* , BACKLOG+9*, BACKLOGX+1 |
BCNT | SNAPSHOT+1~, SNAPSHOT+4*, SNAPSHOT+17*, SNAPSHOT+25 |
CAT | INIT+2~, INIT+4*, INIT+5, INIT+7*, INIT+8, INIT+9, INIT+10, INIT+12*, INIT+13 |
CATS | INIT+2~, INIT+3*, INIT+4, INIT+6*, INIT+7, INIT+11*, INIT+12 |
CNT | SNAPSHOT+1~, SNAPSHOT+4*, SNAPSHOT+13, SNAPSHOT+16*, SNAPSHOT+24, SNAPSHOT+30, COMPILE+1~, COMPILE+2*, COMPILE+4*, COMPILE+5 , WRTLNX+1* |
CRT | PROCESS+6~, PROCESS+10*, SNAPSHOT+4*, SNAPSHOT+5, SNAPSHOT+16, COMPILE+3, COMPILE+5, PRINT+1~, PRINT+4*, PRINT+5* , HDR+3, EOP+5 |
CURRTIME | DBR+1~, DBR+9*, DBR+16 |
DATA | PRINT+10*, PRINT+11*, PRINT+12*, PRINT+13*, PRINT+14*, WRTLN+1~, WRTLN+6*, WRTLN+7*, WRTLN+9, WRTLN+10 , WRTLN+11*, WRTLN+12, WRTLN+13*, WRTLN+16, WRTLN+17, WRTLN+19*, WRTLN+20*, WRTLN+22, WRTLN+23, WRTLN+24* , WRTLN+25, WRTLN+26*, WRTLN+29, WRTLN+30, WRTLN+32*, WRTLN+33*, WRTLN+34*, WRTLN+36, WRTLN+37, WRTLN+40* , WRTLN+41*, WRTLN+42*, WRTLN+43*, WRTLN+45, WRTLN+46 |
DATE | PROCESS+6~, SNAPSHOT+1~, SNAPSHOT+4*, SNAPSHOT+6*, SNAPSHOT+10, SNAPSHOT+13, SNAPSHOT+17, SNAPSHOT+18, BACKLOG~, BACKLOG+2 , BACKLOG+3, BACKLOG+4, BACKLOG+5, BACKLOG+6, BACKLOG+7, BACKLOG+8, BACKLOG+9, OLDDATE~, OLDDATE+4, OLDDATE+5 , FMTDT~, FMTDT+1*, FMTDTX+1, WRTLN+1~ |
DFN | SNAPSHOT+15~, SNAPSHOT+21*, SNAPSHOT+22 |
DIR | TYPE+1~, IBOUT+1~, EOP+1~, EOP+8! |
DIR("A" | TYPE+4*, IBOUT+4* |
DIR("B" | TYPE+5*, IBOUT+5* |
DIR(0 | TYPE+3*, IBOUT+3*, EOP+8* |
DIROUT | TYPE+1~, IBOUT+1~, EOP+1~ |
DIRUT | TYPE+1~, TYPE+7, IBOUT+1~, IBOUT+7, EOP+1~ |
DLINE | PRINT+9*, PRINT+10*, PRINT+11*, PRINT+12*, PRINT+13*, PRINT+14*, WRTLN+1~, WRTLN+8*, WRTLN+9*, WRTLN+10* , WRTLN+16*, WRTLN+17*, WRTLN+21*, WRTLN+22*, WRTLN+23*, WRTLN+29*, WRTLN+30*, WRTLN+35*, WRTLN+36*, WRTLN+37* , WRTLN+39*, WRTLN+44*, WRTLN+45*, WRTLN+46*, WRTLN+48*, WRTLNX+1, WRTLNX+2, HDR+8*, HDR+9*, HDR+10* , HDR+12*, HDR+13*, EOP+3*, EOP+4* |
DOW | BACKLOG+1~, BACKLOG+2*, BACKLOG+3, BACKLOG+4, BACKLOG+5, BACKLOG+6, BACKLOG+7, BACKLOG+8, BACKLOG+9 |
DT | DBR+10, SNAPSHOT+2, SNAPSHOT+3, SNAPSHOT+31 |
DTOUT | TYPE+1~, TYPE+7, IBOUT+1~, IBOUT+7, EOP+1~, EOP+9 |
DTYPE | WRTLN~, WRTLN+33, WRTLN+34 |
DUOUT | TYPE+1~, TYPE+7, IBOUT+1~, IBOUT+7, EOP+1~, EOP+9 |
EMAIL+1~, EMAIL+2*, EMAIL+12, WRTLN+4, WRTLNX+1, HDR+5, EOP+5 | |
END | EOP~, EOP+2 |
EORMSG | PRINT+1~, PRINT+2* |
FLAG | COMPILE+24~, COMPILE+27*, COMPILE+28, COMPILE+29, COMPILE+30, COMPILE+31, COMPILE+32 |
FLAGS | COMPILE+24~, COMPILE+25*, COMPILE+26, COMPILE+27 |
GDATE | OLDDATE+1~, OLDDATE+3*, OLDDATE+4*, OLDDATE+5*, OLDDATE+6 |
IBARY | SNAPSHOT+15~ |
IBARY( | SNAPSHOT+20, SNAPSHOT+21 |
IBCNSPC | EN+1~, PROCESS~ |
IBCNSPC("IBOUT" | IBOUT+8*, PROCESS+8 |
IBCNSPC("TYPE" | TYPE+8*, PROCESS+9 |
IBOUT | EMAIL+1~, EMAIL+4*, PROCESS+6~, PROCESS+8*, PRINT+6, PRINT+8, WRTLN+4, WRTLN+7, WRTLN+9, WRTLN+10 , WRTLN+14, WRTLN+20, WRTLN+22, WRTLN+23, WRTLN+27, WRTLN+34, WRTLN+36, WRTLN+37, WRTLN+43, WRTLN+45 , WRTLN+46, WRTLN+48, HDR+6, HDR+7, HDR+11 |
IBPGC | PRINT+1~, PRINT+4*, HDR+3, HDR+4*, HDR+6 |
IBPXT | PRINT+1~, PRINT+4*, PRINT+7, PRINT+16, PRINT+17, PRINT+18, PRINT+19, PRINT+20, PRINT+22, PRINT+23 , PRINT+24, PRINT+25, PRINT+26, PRINT+27, PRINT+28, PRINT+29, PRINT+30, PRINT+31, PRINT+32, PRINT+33 , PRINT+34, PRINT+35, PRINT+36, PRINT+37, PRINT+38, PRINT+39, PRINT+40, PRINT+41, PRINT+43, PRINTX+1 , WRTLN+4, HDR+2*, HDR+3, EOP+9* |
IBY | SNAPSHOT+15~, SNAPSHOT+22*, SNAPSHOT+23 |
IEN | SNAPSHOT+1~, SNAPSHOT+9*, SNAPSHOT+10*, SNAPSHOT+12, SNAPSHOT+16, COMPILE+1~, COMPILE+2*, COMPILE+4*, COMPILE+7 |
IENS | SNAPSHOT+15~, SNAPSHOT+16*, SNAPSHOT+19, SNAPSHOT+21, SNAPSHOT+23 |
INSCO | COMPILE+1~, COMPILE+9*, COMPILE+12, COMPILE+13, COMPILE+15, COMPILE+17, COMPILE+18, COMPILE+19, COMPILE+20 |
IOF | EN+4, HDR+5 |
IOSL | PRINT+4, PRINT+5 |
IOST | PROCESS+10, PRINT+5 |
LEVEL | WRTLN~, WRTLN+2, WRTLN+5, WRTLN+18, WRTLN+31, WRTLN+38 |
LIN | EOP+1~, EOP+6* |
LINE | INIT+2~, INIT+3*, INIT+6*, INIT+11*, PRINT+6*, HDR+12 |
LOCALTIME | DBR+1~, DBR+6*, DBR+7, DBR+10 |
LVL | UPDATE~, UPDATE+2, UPDATE+4, UPDATE+5, OLDDATE~, OLDDATE+2, OLDDATE+3, OLDDATE+6 |
MAXCNT | PRINT+1~ |
MGRP | DBR+1~ |
MSG | DBR+1~, EMAIL+1~, WRTLNX+1* |
MSG( | WRTLNX+1* |
MTIME | DBR+1~, DBR+10*, DBR+11*, DBR+12*, DBR+16 |
NODE | UPDATE~, UPDATE+3, UPDATE+4, UPDATE+5, OLDDATE~, OLDDATE+2, OLDDATE+3, OLDDATE+6, WRTLN~, WRTLN+6 , WRTLN+11, WRTLN+19, WRTLN+24, WRTLN+32, WRTLN+40, WRTLN+41, WRTLN+42 |
NUM | WRTLN+1~ |
OLDEST | SNAPSHOT+1~, SNAPSHOT+30*, SNAPSHOT+31 |
PCE | INIT+2~, INIT+4*, INIT+7*, INIT+12* |
PL | PRINT+1~, PRINT+4*, PRINT+5*, WRTLN+4, EOP+6 |
POP | DEVICE+6~ |
POS | COMPILE+24~, COMPILE+27* |
SITE | EMAIL+1~, EMAIL+10*, EMAIL+11 |
SLINE | PRINT+1~, PRINT+6*, WRTLN+48 |
SOI | COMPILE+35~, COMPILE+36*, COMPILE+37, COMPILE+38, COMPILE+39, COMPILE+40, PRINT+1~, PRINT+42*, PRINT+43*, PRINT+44 |
STOP | EN+1~, EN+3* |
STRING | HDR+1~, HDR+6*, HDR+7, HDR+8 |
TAB | PRINT+6*, WRTLN+1~, WRTLN+2*, WRTLN+10, WRTLN+23, WRTLN+37, WRTLN+46, HDR+1~, HDR+7*, HDR+8 |
TAB1 | WRTLN+1~, WRTLN+3*, WRTLN+17, WRTLN+30 |
TITLE | WRTLN~, WRTLN+2, WRTLN+3, WRTLN+8, WRTLN+16, WRTLN+21, WRTLN+29, WRTLN+35, WRTLN+44 |
TOT | COMPILE+1~, UPDATE+1~, UPDATE+4* |
TSTAMP | PRINT+1~, PRINT+3*, HDR+6 |
TYPE | EMAIL+1~, EMAIL+4*, EN+1~, TYPE+8*, IBOUT+11, PROCESS+6~, PROCESS+9*, PROCESS+15, PRINT+8, PRINT+21 , HDR+9 |
U | EMAIL+11, INIT+4, INIT+7, INIT+12, PRINT+11, PRINT+12, PRINT+13, PRINT+14 |
WBACKLOG | SNAPSHOT+1~, SNAPSHOT+3*, SNAPSHOT+18 |
WCNT | SNAPSHOT+1~, SNAPSHOT+4*, SNAPSHOT+18*, SNAPSHOT+26 |
WED | BACKLOG~, BACKLOG+3, BACKLOG+4, BACKLOG+5, BACKLOG+6, BACKLOG+7, BACKLOG+8, BACKLOG+9 |
X | TYPE+1~, IBOUT+1~ |
XMSUBJ | EMAIL+1~, EMAIL+11*, EMAIL+13 |
XMTO | EMAIL+1~, EMAIL+13 |
XMTO( | EMAIL+12* |
Y | TYPE+1~, TYPE+8, IBOUT+1~, IBOUT+8, IBOUT+9 |
ZTCPU | DBR+2~ |
ZTDESC | DBR+2~, DBR+20*, DEVICE+6~, DEVICE+9*, DEVICE+11 |
ZTDTH | DBR+2~, DBR+16* |
ZTIO | DBR+2~, DBR+21* |
ZTKIL | DBR+2~ |
ZTPRI | DBR+2~ |
ZTQUEUED | PROCESS+6~, PROCESSX+5, HDR+2, HDR+3 |
ZTREQ | PROCESS+6~, PROCESSX+5* |
ZTRTN | DBR+2~, DBR+19*, DEVICE+6~, DEVICE+8*, DEVICE+11 |
ZTSAVE | DBR+2~, DEVICE+6~, DEVICE+11 |
ZTSAVE("IBCNSPC(" | DEVICE+10* |
ZTSK | DBR+2~ |
ZTSTOP | EMAIL+6, PROCESS+6~, PROCESS+12, PROCESS+15, PROCESS+16, PROCESS+17, WRTLN+4, HDR+2* |
ZTSYNC | DBR+2~ |
ZTUCI | DBR+2~ |