IBCNBOE ;ALB/ARH - Ins Buffer: Employee Report ; 1 Jun 97
Source file <IBCNBOE.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 | 4 | IBCN OUTPUT INS BUFF EMPLOYEE IBCNBOA IBCNBOE IBCNBOF |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ;get parameters then run the report
; IB*702/DTG start newed following variables |
|
ENA | ; allow for up-caret responses
; N IBX S IBX=$$WR Q:'IBX I IBX=1 G ^IBCNBOF ; WHICH REPORT? entered or processed |
|
10 | ; ask if all employees
|
|
15 | ; ask employee name
|
|
20 | ; ask if for month
|
|
209 | ; come here for dates if going back
|
|
30 | ; ask type of report
|
|
DEV | ;get the device
|
|
22 | ; starting month ; IB*702
|
|
23 | ; ending month ; IB*702
|
|
25 | ; starting date ; IB*702
|
|
26 | ; ending date ; IB*702
|
|
RPT | ; run report
|
|
EXIT | ||
SEARCH(IBBEG,IBEND,IBMONTH,IBEMPL) | ; search/sort statistics for activity report
|
|
SET(STAT,IBEMP,IBDATE,S3,TIME,IBB0,IBMONTH) | ;
|
|
SET1(STAT,S1,S2,S3,TIME,IBB0) | ;
|
|
TMP(XREF,S1,S2,S3,TIME,NAME) | ;
|
|
TMPCHK(XREF,S1,S2,S3,TIME,NAME) | ; check if not there set stub for all if one is set
; use S1 (emp) and S2 (date), S3 1, 2, 4, 9 |
|
TMP1(XREF,S1,S2,IC,GC,PC) | ;
|
|
PRINT(IBBEG,IBEND,IBEMPL,IBOUT) | ;
|
|
GETLABL | ; pick up common values for Excel and Report
|
|
GETOAC | ; pick up items for IBCNBOEC
|
|
EOR(IBLE) | ; write end of report
|
|
PRTLN | ; IB*702 Rewrote tag to print zeros for statuses with no counts
|
|
STD(SEC) | ; convert seconds to days
|
|
STDQ | ||
HDR | ;print the report header
|
|
PHDL | ; - Print the header line for the Excel spreadsheet
|
|
PAUSE() | ;pause at end of screen if beeing displayed on a terminal
|
|
STOP() | ;determine if user has requested the queued report to stop
|
|
WR() | ; which report
; IB*702/DTG start remove verified from report |
|
EMPL() | ; print a single or all employees?
|
|
SELEMPL(TYPE) | ; get the name of an employee
|
|
DATES(LABLE,IBBEG) | ;
|
|
DATES1 | ;Repeat for ending date outside of range
|
|
DATESX | ;Exit Dates setup
|
|
MONTH() | ;
|
|
OUT() | ;
|
Name | Field # of Occurrence |
---|---|
^%ZIS | DEV+4 |
HOME^%ZIS | EN+8 |
^%ZISC | EXIT+3 |
^%ZTLOAD | DEV+9 |
$$S^%ZTLOAD | STOP+1 |
^DIC | SELEMPL+3 |
^DIR | PAUSE+2, WR+13, EMPL+6, DATES1+4, MONTH+6, OUT+6 |
$$LAST^IBAGMM | 23+6 |
$$EXMON^IBCNBOA | 15+11 |
$$IBSM^IBCNBOA | 22+3, 23+3 |
$$DATES^IBCNBOE | 25+2, 26+3 |
^IBCNBOF | ENA+3 |
$$EXN^IBCNBOF | PRTLN+17, PRTLN+18, PRTLN+19, PRTLN+20 |
$$MTHBASE^IBCNBOF | 20+2 |
EOR^IBCNBOF | PRINT+16 |
$$STOP^IBCNINSU | 10+1, 15+1, 20+1, 20+3, 30+1, DEV+5, 22+4, 23+5, 25+2, 26+3 |
$$FMDIFF^XLFDT | SEARCH+23 |
$$FMTE^XLFDT | PRINT+8, PRINT+9, GETLABL+2, GETLABL+4, GETLABL+5, PHDL+4, DATES+5, DATES+6 |
$$NOW^XLFDT | PRINT+9, PHDL+4 |
$$SCH^XLFDT | GETLABL+4 |
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 |
|
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 |
|
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 |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^IBA(355.33 - [#355.33] | SEARCH+7, SEARCH+8, SEARCH+10, DATES+4 |
^TMP($J | ENA+9!, EXIT!, TMP+1*, TMP+2*, TMP+3*, TMP+4*, TMP+5*, TMPCHK+3, TMPCHK+4*, TMPCHK+5* , TMPCHK+6*, TMPCHK+7*, TMPCHK+8*, TMP1+1*, TMP1+2*, TMP1+3*, TMP1+4*, PRINT+14, PRINT+23, PRINT+24 , PRINT+26, PRINT+35, PRINT+38, PRINT+45, GETOAC+2, GETOAC+3, PRTLN+5, PRTLN+7, PRTLN+8, PRTLN+9 , PRTLN+10, PRTLN+12 |
^VA(200 - [#200] | GETLABL+6, HDR+9, PHDL+5 |
Name | Line Occurrences |
---|---|
$$EMPL | 10+1 |
$$MONTH | 20+1 |
$$OUT | 30+1 |
$$PAUSE | PRINT+17, PRINT+21, PRINT+52, HDR+2 |
$$SELEMPL | 15+1 |
$$STD | PRTLN+18, PRTLN+19, PRTLN+20, PRTLN+25, PRTLN+26 |
$$STOP | SEARCH+7, HDR+1 |
$$WR | ENA+2 |
10 | 15+1, 20+1, 20+3 |
15 | 20+1, 20+3 |
20 | 209+3, 209+8 |
209 | 30+1 |
22 | 209+4, 23+5 |
25 | 209+9, 26+3 |
30 | DEV+5 |
DATES1 | DATES1+6, DATES1+9, DATES1+10 |
DATESX | DATES1+8 |
ENA | 10+1 |
EOR | PRINT+23, PRINT+35 |
EXIT | ENA+2, 10+1, 15+1, 20+1, 20+3, 209+3, 209+8, 30+1, DEV+5, DEV+9 , RPT+3 |
GETLABL | PRINT+25, PRINT+39 |
GETOAC | PRINT+28, PRINT+47 |
HDR | PRINT+13, PRINT+38, EOR+2 |
PHDL | PRINT+13 |
RPT+4 | |
PRTLN | PRINT+26, PRINT+45 |
RPT | DEV+11 |
SEARCH | RPT+3 |
SET | SEARCH+31 |
SET1 | SET+1, SET+2, SET+3 |
STDQ | STD+1 |
TMP | SET1+2, SET1+3 |
TMP1 | SET1+7 |
TMPCHK | TMP+7 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%ZIS | DEV+1~, DEV+3* |
%ZIS("A" | DEV+3* |
CRT | PRINT+4~ |
DAYS | STD+1~*, STD+5*, STDQ |
DIC | SELEMPL+1~, SELEMPL+3* |
DIC("A" | SELEMPL+2* |
DIC(0 | SELEMPL+3* |
DIR | PAUSE+1~, PAUSE+2!, WR+2~, EMPL+1~, DATES+1~, MONTH+1~, OUT+1~ |
DIR("?" | WR+4*, WR+5*, WR+6*, WR+8*, WR+9*, WR+10*, EMPL+2*, EMPL+3*, EMPL+4*, DATES1+1* , DATES1+2*, MONTH+3*, MONTH+4*, MONTH+5* |
DIR("A" | WR+12*, EMPL+5*, DATES1+3*, MONTH+6*, OUT+4* |
DIR("B" | EMPL+6*, MONTH+6*, OUT+5* |
DIR(0 | PAUSE+2*, WR+12*, EMPL+6*, DATES1+4*, MONTH+6*, OUT+3* |
DIROUT | OUT+1~ |
DIRUT | PAUSE+1~, PAUSE+2, WR+2~, EMPL+1~, DATES+1~, DATES1+7, MONTH+1~, OUT+1~, OUT+6 |
DT | 15+11, DATES+4, DATES1+10 |
DTOUT | SELEMPL+1~, SELEMPL+3, DATES+1~, DATES1+7, OUT+1~ |
DUOUT | PAUSE+2, WR+2~, EMPL+1~, SELEMPL+1~, SELEMPL+3, DATES+1~, DATES1+7, MONTH+1~, OUT+1~ |
GC | TMP1~, TMP1+2 |
IBB | DATES+1~, DATES+4*, DATES+6, DATES1+9 |
IBB0 | SEARCH+1~, SEARCH+10*, SEARCH+20, SEARCH+21, SEARCH+22, SEARCH+23, SEARCH+28, SEARCH+29, SEARCH+31, SET~ , SET+1, SET+2, SET+3, SET1~, SET1+7 |
IBBA | EN+2~, EXIT!, PRTLN+3~, PRTLN+17*, PRTLN+18*, PRTLN+19*, PRTLN+20*, PRTLN+24*, PRTLN+25* |
IBBB | EN+2~, EXIT!, PRTLN+3~ |
IBBC | EN+2~, EXIT!, PRTLN+3~, PRTLN+17*, PRTLN+18*, PRTLN+19*, PRTLN+20* |
IBBD | EN+2~, EXIT! |
IBBEG | EN+2~, 22+6*, 25+2*, 26+3, RPT+3, RPT+4, EXIT!, SEARCH~, SEARCH+2*, SEARCH+7 , SEARCH+20, PRINT~, PRINT+8, GETLABL+2, GETLABL+4, DATES~, DATES+3*, DATES+4, DATES+5, DATES+6 |
IBBEGEX | EN+2~, 22+5*, EXIT! |
IBBENEX | EN+2~, 23+4*, EXIT! |
IBBI | TMPCHK+2~, TMPCHK+3*, TMPCHK+4, TMPCHK+5, TMPCHK+6, TMPCHK+7, TMPCHK+8 |
IBBUFDA | SEARCH+1~, SEARCH+8*, SEARCH+10 |
IBBUFEM | EN+2~, EXIT! |
IBBUFEME | EN+2~, EXIT! |
IBBUFSD | EN+2~, EXIT! |
IBBUFSM | EN+2~, 20+4*, EXIT! |
IBBUFSMD | EN+2~, EXIT! |
IBBUFSME | EN+2~, EXIT! |
IBCHGDT | EN+2~, EXIT! |
IBCNT | PRINT+1~, GETOAC+3*, GETOAC+4, PRTLN+1~, PRTLN+7*, PRTLN+16, PRTLN+17, PRTLN+18, PRTLN+23, PRTLN+24 , PRTLN+25 |
IBCO | EN+3~, 209+3*, 209+4, 209+8*, 209+9, 22+3*, 22+4*, 23+5*, 23+7*, 25+2* , 26+3*, 26+4*, EXIT+1! |
IBCUR | EN+3~, 15+11*, EXIT+1! |
IBCURFM | EN+3~, 15+11*, EXIT+1! |
IBD | STD+1~, STD+2*, STD+3, STD+5, DATES+1~, DATES+4* |
IBDATE | SEARCH+1~, SEARCH+20*, SEARCH+23, SEARCH+31, SET~, SET+1 |
IBDT2 | SEARCH+1~, SEARCH+23* |
IBE | DATES+1~, DATES+5*, DATES+6*, DATES1+2, DATES1+9 |
IBEDDT | EN+3~, 23+3*, 23+4*, 23+5, 23+6, EXIT+1! |
IBEMP | SEARCH+1~, SEARCH+21*, SEARCH+31, SET~, SET+1, SET+2 |
IBEMPL | EN+3~, 10+1*, 15+1*, 20+1, 20+3, RPT+3, RPT+4, EXIT+1!, SEARCH~, SEARCH+21 , PRINT~, HDR+9, PHDL+5 |
IBEMPN | PRINT+1~, GETLABL+6*, GETLABL+7, PRTLN+16 |
IBEND | EN+3~, 23+6*, 26+3*, RPT+3, RPT+4, EXIT+1!, SEARCH~, SEARCH+2*, SEARCH+7, SEARCH+20 , PRINT~, PRINT+8, GETLABL+2, GETLABL+4 |
IBGP | PRINT+1~, PRINT+29, PRINT+49, GETOAC+4* |
IBGRP | PRINT+1~, PRINT+29, PRINT+49, GETOAC+2*, GETOAC+4 |
IBH | STD+1~, STD+4*, STD+5 |
IBHDR | EN+3~, EN+9*, DEV+9, EXIT+1! |
IBHG | PRTLN+1~, PRTLN+9*, PRTLN+19, PRTLN+26 |
IBI | PRINT+1~, PRINT+17*, PRINT+21*, PRINT+52*, HDR+10* |
IBINS | PRINT+1~, PRINT+29, PRINT+48, GETOAC+2*, GETOAC+4 |
IBIP | PRINT+1~, PRINT+29, PRINT+48, GETOAC+4* |
IBL | EN+3~, EXIT+1! |
IBLABLE | PRINT+1~, PRINT+40, GETLABL+2*, GETLABL+3, GETLABL+4*, GETLABL+5*, GETLABL+7*, PRTLN+16 |
IBLE | EOR~, EOR+1*, EOR+3 |
IBLM | EN+3~, EXIT+1! |
IBLN | PRINT+1~, PRINT+9*, PRINT+38*, PRINT+45*, EOR+2, HDR+3* |
IBLS | PRTLN+1~, PRTLN+10*, PRTLN+20, PRTLN+26 |
IBMONTH | EN+3~, 20+1*, 209+3, 209+8, RPT+3, EXIT+1!, SEARCH~, SEARCH+31, SET~, SET+1 , GETLABL+5 |
IBOK | EN+3~, 20+2*, 20+3, 20+4, 209+3*, 209+5*, 209+8*, 209+10*, EXIT+1! |
IBOUT | EN+3~, 30+1*, 30+3, DEV+7, RPT+4, EXIT+1!, PRINT~, PRINT+7*, PRINT+13, PRINT+15 , PRINT+21, GETLABL+7, EOR+3, PRTLN+15 |
IBPGN | PRINT+1~, PRINT+9*, HDR+2, HDR+3*, HDR+8, STOP+1 |
IBPOL | PRINT+1~, PRINT+29, PRINT+50, GETOAC+3*, GETOAC+4 |
IBPP | PRINT+1~, PRINT+29, PRINT+50, GETOAC+4* |
IBQUIT | EN+3~, RPT+1*, RPT+3, EXIT+1!, SEARCH+1*, SEARCH+6, SEARCH+7*, PRINT+35, PRINT+38, PRINT+52 , EOR+2, HDR+1*, HDR+2* |
IBRANGE | PRINT+1~, PRINT+8*, HDR+6, PHDL+4 |
IBRDT | PRINT+1~, PRINT+9*, HDR+8 |
IBS | STD+1~, STD+3*, STD+4 |
IBS1 | PRINT+1~, PRINT+11*, PRINT+23*, PRINT+24, PRINT+26, PRINT+35*, PRINT+38, PRINT+45, GETLABL+6, GETOAC+2 , GETOAC+3, PRTLN+5, PRTLN+7, PRTLN+8, PRTLN+9, PRTLN+10, PRTLN+12 |
IBS2 | PRINT+1~, PRINT+24*, PRINT+26, PRINT+38*, PRINT+45, GETLABL+2, GETLABL+4, GETLABL+5, GETOAC+2, GETOAC+3 , PRTLN+5, PRTLN+7, PRTLN+8, PRTLN+9, PRTLN+10, PRTLN+12 |
IBS3 | SEARCH+1~, SEARCH+22*, SEARCH+28*, SEARCH+29*, SEARCH+31, PRINT+1~, PRINT+26*, PRINT+45*, PRTLN+5, PRTLN+7 , PRTLN+8, PRTLN+9, PRTLN+10 |
IBSTAT | SEARCH+1~, SEARCH+22*, SEARCH+28*, SEARCH+29*, SEARCH+31, SET+1, SET+2, SET+3 |
IBSTDT | EN+3~, 22+3*, 22+4, 22+5*, 22+6, 23+3, EXIT+1! |
IBSTX | PRTLN+1~, PRTLN+5*, PRTLN+16, PRTLN+23 |
IBTCNT | PRTLN+1~, PRTLN+12*, PRTLN+17, PRTLN+24 |
IBTIME | SEARCH+1~, SEARCH+23*, SEARCH+31, SET+1, SET+2, SET+3 |
IBTM | PRTLN+1~, PRTLN+8*, PRTLN+18, PRTLN+25 |
IBVER | SEARCH+1~, SEARCH+22*, SEARCH+23 |
IBX | EN+4~, ENA+2*, ENA+3, EXIT+1!, STD+1~, PAUSE+1~*, PAUSE+2*, PAUSE+3, WR+2~*, WR+14* , WR+15, EMPL+1~*, EMPL+7*, EMPL+8, SELEMPL+1~*, SELEMPL+3*, SELEMPL+4, DATES+1~, DATES+4*, DATES1+5* , DATES1+7*, DATES1+8, DATES1+9, DATES1+10, DATESX+1, MONTH+1~*, MONTH+8*, MONTH+9 |
IBXDT | SEARCH+1~, SEARCH+7*, SEARCH+8 |
IBXREF | PRINT+1~, PRINT+11*, PRINT+14, PRINT+23, PRINT+24, PRINT+26, PRINT+35, PRINT+38, PRINT+45, PRTLN+5 , PRTLN+7, PRTLN+8, PRTLN+9, PRTLN+10, PRTLN+12 |
IBXST | SEARCH+1~, SEARCH+6*, SEARCH+7, SEARCH+8, SEARCH+20 |
IC | TMP1~, TMP1+1 |
IO | DEV+10 |
IO("Q" | DEV+9! |
IOF | EN+8, HDR+3 |
IOM | DEV+7*, PRINT+15, PRINT+16, HDR+8, HDR+10 |
IOSL | PRINT+5 |
IOST | HDR+3, PAUSE+2 |
LABLE | DATES~, DATES1+1, DATES1+3, DATES1+6 |
MAXCNT | PRINT+4~, PRINT+5*, PRINT+38, EOR+2 |
NAME | TMP~, TMP+1, TMP+7, TMPCHK~ |
PC | TMP1~, TMP1+3 |
POP | DEV+1~, DEV+5 |
S1 | SET1~, SET1+2, SET1+3, SET1+7, TMP~, TMP+1, TMP+2, TMP+3, TMP+4, TMP+5 , TMP+7, TMPCHK~, TMPCHK+3, TMPCHK+4, TMPCHK+5, TMPCHK+6, TMPCHK+7, TMPCHK+8, TMP1~, TMP1+1 , TMP1+2, TMP1+3, TMP1+4 |
S2 | SET1~, SET1+2, SET1+3, SET1+7, TMP~, TMP+1, TMP+2, TMP+3, TMP+4, TMP+5 , TMP+7, TMPCHK~, TMPCHK+3, TMPCHK+4, TMPCHK+5, TMPCHK+6, TMPCHK+7, TMPCHK+8, TMP1~, TMP1+1 , TMP1+2, TMP1+3, TMP1+4 |
S3 | SET~, SET+1, SET+2, SET+3, SET1~, SET1+2, TMP~, TMP+1, TMP+2, TMP+3 , TMP+4, TMP+5, TMP+7, TMPCHK~ |
SEC | STD~, STD+1, STD+2, STD+3 |
STAT | SET~, SET1~, SET1+2, SET1+5 |
TIME | SET~, SET1~, SET1+2, SET1+3, TMP~, TMP+3, TMP+4, TMP+5, TMP+7, TMPCHK~ |
TYPE | SELEMPL~, SELEMPL+2 |
U | 20+4, 22+5, 23+4, SEARCH+20, SEARCH+21, SEARCH+22, SEARCH+28, SEARCH+29, SET1+7, PRINT+7 , PRINT+29, GETLABL+6, PRTLN+16, PRTLN+17, PRTLN+18, PRTLN+19, HDR+9, PHDL+5 |
X | PHDL+1~, PHDL+7*, PHDL+8*, PHDL+9, PHDL+10!, PAUSE+1~, WR+2~, EMPL+1~, SELEMPL+1~, DATES+1~ , MONTH+1~, OUT+1~ |
XREF | TMP~, TMP+1, TMP+2, TMP+3, TMP+4, TMP+5, TMP+7, TMPCHK~, TMPCHK+3, TMPCHK+4 , TMPCHK+5, TMPCHK+6, TMPCHK+7, TMPCHK+8, TMP1~, TMP1+1, TMP1+2, TMP1+3, TMP1+4 |
Y | PAUSE+1~, WR+2~, WR+14, EMPL+1~, EMPL+7, SELEMPL+1~, SELEMPL+3, DATES+1~, DATES1+5, DATES1+6 , MONTH+1~, MONTH+8, OUT+1~, OUT+7 |
ZTDESC | DEV+1~, DEV+9* |
ZTQUEUED | EN+3~, EXIT+2, STOP+1 |
ZTREQ | STOP+1! |
ZTRTN | DEV+1~, DEV+9* |
ZTSAVE | DEV+1~ |
ZTSAVE("IB*" | DEV+9* |
ZTSTOP | EN+3~, STOP+1*, STOP+2 |