Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: XMXUTIL

Package: MailMan

Routine: XMXUTIL


Information

XMXUTIL ;ISC-SF/GMB-Message & Mailbox Utilities ;06/19/2002 07:39

Source Information

Source file <XMXUTIL.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
VA FileMan 4 ($$EZBLD,BLD)^DIALOG  FILE^DIE  ^DIK  ^DIR  
Kernel 2 $$NOW^XLFDT  $$NAMEFMT^XLFNAME  
MailMan 2 $$NPBSKT^XMJBN  CONFIRM^XMXUTIL1  

Caller Graph

Caller Graph Total: 127

Package Total Caller Graph
MailMan 103 FILTER  XM  XMA3  XMA30  XMA32A  XMAI2  XMCB  XMCE  
XMCP  XMCQ  XMCQA  XMCQH  XMCTLK  XMCX  XMCXT  XMD  
XMDIRSND  XMFAX  XMGAPI4  XMHIG  XMHIU  XMJBL  XMJBM  XMJBN  
XMJBN1  XMJBU  XMJMA  XMJMC  XMJMD  XMJMF  XMJMF1  XMJMF2  
XMJMFA  XMJMFB  XMJMFC  XMJML  XMJMLN  XMJMLR  XMJMLR1  XMJMOI  
XMJMOIE  XMJMP1  XMJMP2  XMJMQ  XMJMR  XMJMR1  XMJMS  XMJMSA  
XMJMSO  XMJMT  XMKP1  XMP  XMP2A  XMP3  XMPC  XMPH  
XMR  XMR3A  XMRENT  XMRPCTS1  XMRPOP  XMS  XMS1  XMTDL  
XMTDL2  XMTDT  XMUPIN  XMUT1  XMUT1A  XMUT2  XMUT41  XMUT7  
XMUTERM1  XMUTERM2  XMVGRP  XMVSURR  XMVVITA  XMVVITAE  XMXADDR  XMXADDR1  
XMXADDR2  XMXAPIG  XMXAPIU  XMXBSKT  XMXBULL  XMXEDIT  XMXGRP  XMXGRP1  
XMXMBOX  XMXMSGS  XMXMSGS1  XMXMSGS2  XMXPARM  XMXPARM1  XMXPARMB  XMXSEC  
XMXSEC1  XMXSEC2  XMXSEND  XMXTO  XMXUTIL2  XMXUTIL3  XMXUTIL4  
Network Health Exchange 6 AFJXMABX  AFJXMBOX  AFJXPNHX  AFJXSFAL  AFJXVER  AFJXWCPM  
Toolkit 5 XTVSLN  XTVSLNA1  XTVSLR  XTVSRFL  XTVSSVR  
Scheduling 4 SDRRISRA  SDRRISRD  SDRRISRL  SDRRISRX  
Capacity Management 3 KMPVCBG  KMPVCCFG  KMPVCSRV  
Order Entry Results Reporting 2 OCXSEND  ORY352  
Care Management 1 ORRCLNP  
Clinical Reminders 1 PXRMMSG  
Consult Request Tracking 1 GMRCYP15  
Kernel 1 XPDDP  

Entry Points

Name Comments DBIA/ICR reference
WAIT ;
  • ICR #2734
    • Status: Active
    • Usage: Supported
    PAGE(XMABORT) ;
  • ICR #2734
    • Status: Active
    • Usage: Supported
    NEWS(XMDUZ,XMTEST) ;
    ; Given:
    ; XMDUZ User's DUZ
    ; XMTEST 0=this is not a test. (DEFAULT)
    ; (Field 1.12 LAST NEW MSG NOTIFY DATE/TIME may be updated)
    ; 1=this is just a test.
    ; (Field 1.12 will not be updated)
    ; Returns:
    ; -1 If no record of this user
    ; 0 If no new mail
    ; Otherwise, if the user has new mail, returns an ^-delimited string:
    ; Piece 1: # New Msgs
    ; Piece 2: Does the user have new priority mail? (1=yes;0=no)
    ; Piece 3: # New Msgs in IN basket
    ; Piece 4: Date/Time (FileMan) that the last msg was received
    ; Piece 5: Have there been any new messages since the last time
    ; this function was called? (1=yes;0=no)
    ; And for the first priority read basket with new messages in it:
    ; (If none has new messages, then first priority read basket)
    ; Piece 6: # New Msgs in basket
    ; Piece 7: Basket IEN
    ; Piece 8: Basket name
  • ICR #2734
    • Status: Active
    • Usage: Supported
    TNMSGCT(XMDUZ) ; Total new msg count
  • ICR #2734
    • Status: Active
    • Usage: Supported
    BNMSGCT(XMDUZ,XMK) ; Basket new msg count
  • ICR #2734
    • Status: Active
    • Usage: Supported
    TPMSGCT(XMDUZ) ; Total new priority msg count
  • ICR #2734
    • Status: Active
    • Usage: Supported
    BPMSGCT(XMDUZ,XMK) ; Basket new priority msg count
  • ICR #2734
    • Status: Active
    • Usage: Supported
    TMSGCT(XMDUZ) ; Total msg count
  • ICR #2734
    • Status: Active
    • Usage: Supported
    BMSGCT(XMDUZ,XMK) ; Basket msg count
  • ICR #2734
    • Status: Active
    • Usage: Supported
    KVAPOR(XMDUZ,XMK,XMZ,XMVAPOR,XMIU) ; Set/delete a message's vaporize date in user's basket
    ; XMVAPOR ="@" delete it
    ; =FM date/time set/change it
  • ICR #2734
    • Status: Active
    • Usage: Supported
    BSKTNAME(XMDUZ,XMK) ; What's the name of this basket for this user?
  • ICR #2734
    • Status: Active
    • Usage: Supported
    NAME(XMID,XMIT) ; Given a name or DUZ, return the name
    ; XMID user's DUZ or name
    ; XMIT 1=if DUZ, return institution and title, too, if needed
    ; 0=just return the name (default)
  • ICR #2734
    • Status: Active
    • Usage: Supported
    NETNAME(XMDUZ) ; Given a DUZ or a string, return an internet name @ site name.
  • ICR #2734
    • Status: Active
    • Usage: Supported
    LOCK(XMDOOR,XMLOCKED,XMWAIT) ; Lock a global (** NOT USED **)
    MAKENEW(XMDUZ,XMK,XMZ,XMLOCKIT) ; Make a message new
    ; Should lock before calling AND unlock after.
    ; If you set XMLOCKIT=1, I'll do the locking for you.
  • ICR #2734
    • Status: Active
    • Usage: Supported
    INCRNEW(XMDUZ,XMK,XMCNT) ; Increment the number of new messages in a basket
    ; For internal use only!
    NONEW(XMDUZ,XMK,XMZ,XMLOCKIT) ; Make a message not new
    ; Should lock before calling AND unlock after.
    ; If you set XMLOCKIT=1, I'll do the locking for you.
  • ICR #2734
    • Status: Active
    • Usage: Supported
    DECRNEW(XMDUZ,XMK,XMCNT) ; Decrement the number of new messages in a basket
    ; For internal use only!
    KILLMSG(DA) ; For internal MM use only. Kill a msg in ^XMB(3.9
    LASTACC(XMDUZ,XMK,XMZ,XMRESP,XMIM,XMINSTR,XMIU,XMCONFRM) ; Note first, last accesses, number of responses read
    ; in:
    ; XMDUZ,XMK,XMZ the usual. If message not in basket, set XMK=0.
    ; XMRESP last response read this time
    ; XMIM "SUBJ", "FROM"
    ; XMINSTR "FLAGS"
    ; XMIU "IEN", "RESP"
    ; out:
    ; XMCONFRM Confirmation message was sent to message sender (0=no; 1=yes)
  • ICR #2734
    • Status: Active
    • Usage: Supported
    ERRSET(XMID,XMPARM,XMZ) ; For internal MailMan use only.

    External References

    Name Field # of Occurrence
    $$EZBLD^DIALOG WAIT+1, NAME+4, NAME+6
    BLD^DIALOG ERRSET+5
    FILE^DIE KVAPOR+12, MAKENEW+8, NONEW+7, LASTACC+38
    ^DIK KILLMSG+4
    ^DIR WAIT+1, PAGE+1
    $$NOW^XLFDT INCRNEW+6, LASTACC+17
    $$NAMEFMT^XLFNAME NAME+8
    $$NPBSKT^XMJBN NEWS+30
    CONFIRM^XMXUTIL1 LASTACC+22

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^XMB(3.9 - [#3.9] Classic Fileman Calls

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DIC(3.1 - [#3.1] NAME+12
    ^TMP("XMERR" ERRSET+2*, ERRSET+3*, ERRSET+4*, ERRSET+6*
    ^VA(200 - [#200] NAME+6, NAME+11, NAME+12
    ^XMB("NETNAME" NETNAME+16
    ^XMB(3.7 - [#3.7] NEWS+23, NEWS+29*, NEWS+30, TNMSGCT+1, BNMSGCT+1, TPMSGCT+1, TPMSGCT+4, TPMSGCT+5, BPMSGCT+1, BPMSGCT+4
    , TMSGCT+3, BMSGCT+1, BSKTNAME+1, NAME+14, NAME+15, NETNAME+6, MAKENEW+3, MAKENEW+4, MAKENEW+7, MAKENEW+9
    , INCRNEW+3, INCRNEW+4, INCRNEW+5, INCRNEW+6*, INCRNEW+7, NONEW+3, NONEW+6, NONEW+8, DECRNEW+3, DECRNEW+4
    , DECRNEW+5, DECRNEW+6, LASTACC+28, LASTACC+31*
    ^XMB(3.9 - [#3.9] KILLMSG+3, KILLMSG+5, LASTACC+12, LASTACC+18, LASTACC+25*, LASTACC+26*

    Label References

    Name Line Occurrences
    $$BMSGCT TMSGCT+3
    $$NAME NETNAME+6
    DECRNEW NONEW+9
    INCRNEW MAKENEW+10

    Naked Globals

    Name Field # of Occurrence
    ^( NETNAME+6
    ^(0 NAME+12, INCRNEW+4*, INCRNEW+5*, DECRNEW+4*, DECRNEW+5*

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    DA KILLMSG~
    DIK KILLMSG+1~, KILLMSG+2*
    DIR WAIT+1~, PAGE+1~
    DIR("A" WAIT+1*
    DIR(0 WAIT+1*, PAGE+1*
    DIRUT WAIT+1~, PAGE+1~
    DUZ LASTACC+26
    I TPMSGCT+2~, TPMSGCT+3*, TPMSGCT+5*, TPMSGCT+6, BPMSGCT+2~, BPMSGCT+4*, BPMSGCT+5, TMSGCT+1~, TMSGCT+2*, TMSGCT+3*
    , TMSGCT+4
    U NEWS+25, NEWS+27, NEWS+28, NEWS+29, NEWS+30, TNMSGCT+1, BNMSGCT+1, BMSGCT+1, BSKTNAME+1, NAME+11
    , NAME+12, NAME+15, NETNAME+6, INCRNEW+4, INCRNEW+5, INCRNEW+6, DECRNEW+4, DECRNEW+5, LASTACC+12, LASTACC+19
    , LASTACC+20, LASTACC+23, LASTACC+24, LASTACC+30, LASTACC+31
    XMABORT PAGE~, PAGE+1*
    XMCNT INCRNEW~, INCRNEW+2*, INCRNEW+4, INCRNEW+5, DECRNEW~, DECRNEW+2*, DECRNEW+4, DECRNEW+5
    XMCONFRM LASTACC~, LASTACC+14*, LASTACC+22*
    XMDOOR LOCK~, LOCK+1
    XMDUZ NEWS~, NEWS+23, NEWS+29, NEWS+30, TNMSGCT~, TNMSGCT+1, BNMSGCT~, BNMSGCT+1, TPMSGCT~, TPMSGCT+1
    , TPMSGCT+4, TPMSGCT+5, BPMSGCT~, BPMSGCT+1, BPMSGCT+4, TMSGCT~, TMSGCT+3, BMSGCT~, BMSGCT+1, KVAPOR~
    , KVAPOR+4, BSKTNAME~, BSKTNAME+1, NETNAME~, NETNAME+2, NETNAME+3, NETNAME+4*, NETNAME+6, NETNAME+11, MAKENEW~
    , MAKENEW+3, MAKENEW+4, MAKENEW+6, MAKENEW+7, MAKENEW+9, MAKENEW+10, INCRNEW~, INCRNEW+3, INCRNEW+4, INCRNEW+5
    , INCRNEW+6, INCRNEW+7, NONEW~, NONEW+3, NONEW+5, NONEW+6, NONEW+8, NONEW+9, DECRNEW~, DECRNEW+3
    , DECRNEW+4, DECRNEW+5, DECRNEW+6, LASTACC~, LASTACC+22, LASTACC+26, LASTACC+28, LASTACC+31, LASTACC+34
    >> XMERR ERRSET+1*, ERRSET+2, ERRSET+3, ERRSET+4, ERRSET+5, ERRSET+6
    XMFDA KVAPOR+3~, MAKENEW+5~, NONEW+4~, LASTACC+9~
    XMFDA( KVAPOR+5*, KVAPOR+8*, KVAPOR+11*, MAKENEW+6*, NONEW+5*, LASTACC+35*, LASTACC+36*, LASTACC+37*
    XMID NAME~, NAME+4, NAME+6, NAME+7, NAME+11, NAME+12, NAME+14, NAME+15, ERRSET~, ERRSET+2
    , ERRSET+5, ERRSET+6
    XMIENS KVAPOR+3~, KVAPOR+4*, KVAPOR+5, KVAPOR+8, KVAPOR+11, LASTACC+9~, LASTACC+34*, LASTACC+35, LASTACC+36, LASTACC+37
    XMIM LASTACC~, LASTACC+22
    XMIM("FROM" LASTACC+22
    XMINST NAME+5~, NAME+15*, NAME+16
    XMINSTR LASTACC~
    XMINSTR("FLAGS" LASTACC+22
    XMIT NAME~, NAME+9
    XMIU KVAPOR~, LASTACC~
    XMIU("IEN" LASTACC+15, LASTACC+18, LASTACC+25, LASTACC+26
    XMIU("KVAPOR" KVAPOR+7!, KVAPOR+10*
    XMIU("RESP" LASTACC+16*, LASTACC+24*
    XMK BNMSGCT~, BNMSGCT+1, TPMSGCT+2~, TPMSGCT+3*, TPMSGCT+4*, TPMSGCT+5, BPMSGCT~, BPMSGCT+1, BPMSGCT+4, TMSGCT+1~
    , TMSGCT+2*, TMSGCT+3*, BMSGCT~, BMSGCT+1, KVAPOR~, KVAPOR+4, BSKTNAME~, BSKTNAME+1, MAKENEW~, MAKENEW+3
    , MAKENEW+4, MAKENEW+6, MAKENEW+7, MAKENEW+9, MAKENEW+10, INCRNEW~, INCRNEW+4, NONEW~, NONEW+3, NONEW+5
    , NONEW+6, NONEW+8, NONEW+9, DECRNEW~, DECRNEW+4, LASTACC~, LASTACC+27, LASTACC+28, LASTACC+31, LASTACC+34
    XMLOCKED LOCK~, LOCK+1*, LOCK+2*
    XMLOCKIT MAKENEW~, MAKENEW+7, MAKENEW+9, NONEW~, NONEW+6, NONEW+8
    XMNAME NAME+5~, NAME+8*, NAME+9, NAME+13*, NAME+16*, NAME+17
    XMNAME("FIELD" NAME+7*
    XMNAME("FILE" NAME+7*
    XMNAME("IENS" NAME+7*
    XMNETNAM NETNAME+1~, NETNAME+6*, NETNAME+7, NETNAME+8*, NETNAME+9*, NETNAME+11*, NETNAME+12, NETNAME+13, NETNAME+14*, NETNAME+15*
    , NETNAME+16
    XMNEW NEWS+22~, NEWS+25*, NEWS+26, NEWS+30
    XMNOTIFY NEWS+22~, NEWS+28*, NEWS+29, NEWS+30
    XMNOW LASTACC+9~, LASTACC+17*, LASTACC+20, LASTACC+23, LASTACC+31, LASTACC+35
    XMPARM ERRSET~, ERRSET+5
    XMPARM("PARAM" ERRSET+4
    XMREC NEWS+22~, NEWS+23*, NEWS+24, NEWS+25, NEWS+27, NEWS+28, LASTACC+9~, LASTACC+18*, LASTACC+19, LASTACC+20*
    , LASTACC+23*, LASTACC+24*, LASTACC+25, LASTACC+28*, LASTACC+29, LASTACC+30
    XMRECEIV NEWS+22~, NEWS+27*, NEWS+29, NEWS+30
    XMRESP LASTACC~, LASTACC+10, LASTACC+13*, LASTACC+16, LASTACC+24
    XMRESPS LASTACC+11~, LASTACC+12*, LASTACC+13
    XMTEST NEWS~, NEWS+29
    XMTITLE NAME+5~, NAME+11*, NAME+12*, NAME+13
    >> XMV("DUZ NAME " , LASTACC+26
    >> XMV("SHOW INS T" , NAME+14
    >> XMV("SHOW TIT L" , NAME+10
    >> XMV("TITL SRC " , NAME+11
    XMVAPOR KVAPOR~, KVAPOR+5, KVAPOR+6, KVAPOR+10
    XMWAIT LOCK~, LOCK+1
    XMZ TPMSGCT+2~, TPMSGCT+3*, TPMSGCT+5*, BPMSGCT+2~, BPMSGCT+3*, BPMSGCT+4*, KVAPOR~, KVAPOR+4, MAKENEW~, MAKENEW+3
    , MAKENEW+4, MAKENEW+6, MAKENEW+7, MAKENEW+9, NONEW~, NONEW+3, NONEW+5, NONEW+6, NONEW+8, LASTACC~
    , LASTACC+12, LASTACC+18, LASTACC+22, LASTACC+25, LASTACC+26, LASTACC+28, LASTACC+31, LASTACC+34, ERRSET~, ERRSET+3
    Y WAIT+1~, PAGE+1~
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All