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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: DDEG

Package: VA FileMan

Routine: DDEG


Information

DDEG ;SPFO/RAM,MKB - Entity GET Extract ;1/26/23 10:37

Source Information

Source file <DDEG.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 4 $$EN1^DDEG  $$CANDO^DIAC1  (FIND,LIST)^DIC  $$GET1^DIQ  
Kernel 1 $$ESC^XLFJSON  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
VA FileMan 2 DDEG  DDEGET  

Entry Points

Name Comments DBIA/ICR reference
EN1(DIENTY,DIEN,NOTAG,ERROR) ; -- return a single Entity (expects DFORM=0/1/2)
ENQ ;
VALUE(ITM,NOTAG) ; -- build a complete ITEM value
VQ ;
SIMPLE ; -- retrieve simple ITEM (from $$VALUE)
FIXED ; -- build one FIXED item (from $$VALUE)
ID ; -- build one ID item (from $$VALUE)
WORD ; -- build one WP ITEM (from $$VALUE)
ENTITY ; -- build an entity ITEM (from $$VALUE)
COMPLEX ; -- build a complex ITEM (from $$VALUE)
LIST ; -- build an array of values in ITEM (from $$VALUE)
LIST1 ; -- list of values in FILE (from LIST)
L1 ; find appropriate records and process
LIST2 ; -- list of values in SUBFILE (from LIST)
L2 ; find appropriate records and process
LIST3 ; -- list of values in COMPLEX FIELDS (from LIST)
LIST4 ; -- list of values in DLIST()
ADD(STRING,ELEMENT,SEQ) ; -- add ELEMENT to result STRING
ELEMENT(STRING,NAME,VALUE,SEQ,OPTION,DTYPE) ; -- build an element STRING
; STRING=SERIALIZED RESPONSE
VALID(X) ; -- return 1 or 0, if X is a valid string
; Cannot be null or only white space
ESC(X) ; -- convert key characters for outgoing XML/JSON
PREPROC(DIENTY) ; -- pre-processing logic
IENPROC ; -- IEN processing logic
; setting DDEOUT will cause this record (IEN) to not be returned
ITMPROC ; -- ITEM processing logic
; setting DDEOUT will cause this item to not be returned
POST(DIENTY) ; -- post-processing logic

External References

Name Field # of Occurrence
$$EN1^DDEG ENTITY+16, L1+10, L1+11, L2+9, L2+10, LIST4+18
$$CANDO^DIAC1 EN1+12
FIND^DIC L1+2
LIST^DIC L2+1
$$GET1^DIQ VALUE+6, SIMPLE+9, WORD+7, ENTITY+11, L1+7, L2+6
$$ESC^XLFJSON ESC+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DDE - [#1.5] EN1+4, EN1+5, EN1+10, EN1+16, EN1+17, VALUE+3, SIMPLE+2, FIXED+5, ID+2, ENTITY+3
COMPLEX+5, COMPLEX+6, COMPLEX+7, COMPLEX+8, COMPLEX+9, LIST+1, LIST1+4, LIST1+11, LIST1+13, LIST1+17
LIST1+18, LIST2+3, LIST2+10, LIST2+12, LIST2+13, LIST2+14, LIST3+7, LIST3+8, LIST3+9, LIST3+10
LIST3+11, LIST4+9, PREPROC+2, IENPROC+3, ITMPROC+3, POST+2

Label References

Name Line Occurrences
$$ADD EN1+19, COMPLEX+12
$$ELEMENT EN1+24, SIMPLE+17, FIXED+10, ID+14, WORD+25, ENTITY+22, COMPLEX+16, LIST+8, L1+14, L2+13
LIST3+16, LIST4+21
$$ESC SIMPLE+15, FIXED+8, ID+12, WORD+23
$$VALID SIMPLE+14, FIXED+7, ID+11, WORD+18, L1+9, L2+8, LIST4+17
$$VALUE EN1+18, COMPLEX+11, LIST3+13
@( VALUE+8, LIST+3, L1+1
ENQ EN1+7, EN1+8, EN1+10
IENPROC EN1+7
ITMPROC SIMPLE+5, FIXED+4, ID+5, WORD+4, ENTITY+7, COMPLEX+3, LIST1+6, LIST2+5, LIST3+4, LIST4+5
POST ENTITY+17, L1+16, L2+15, LIST4+23
PREPROC ENTITY+15, LIST1+19, LIST2+15, LIST4+10
SIMPLE VALUE+9
VQ VALUE+8

Naked Globals

Name Field # of Occurrence
^( LIST1+13
^(0 EN1+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
C LIST1+1~, LIST1+2*, L1+7, LIST2+1~, LIST2+2*, L2+1, L2+6
CRLF WORD+1~, WORD+9*, WORD+15
DAC EN1+1~, EN1+10*, EN1+12*, EN1+13
DATA ENTITY+1~
DDELIST LIST1+1~
DDELIST("DILIST" L1+2
DDEOUT EN1+1~, EN1+7!, SIMPLE+5!, FIXED+4!, ID+5!, WORD+4!, ENTITY+7!, COMPLEX+3!, LIST1+6!, LIST2+5!
LIST3+4!, LIST4+5!
>> DDEQUIT EN1+7, EN1+16, EN1+17, EN1+18, EN1+21, ENQ+1, SIMPLE+5, FIXED+4, ID+5, WORD+4
ENTITY+7, COMPLEX+3, COMPLEX+5, COMPLEX+11, LIST+5, LIST1+6, L1+13, LIST2+5, L2+12, LIST3+4
LIST3+15, LIST4+5, LIST4+20
DDERR EN1+11~
DDERR(1 EN1+13
>> DDESC ESC+13
DDETXT EN1+11~
DDETXT(1 EN1+13
>> DFORM EN1+2*, EN1+22, COMPLEX+15, LIST+7, ADD+4*, ADD+7, ADD+8, ADD+9, ELEMENT+11*, ELEMENT+13
, ELEMENT+14, ELEMENT+15, ELEMENT+18, ELEMENT+19, ELEMENT+20, ESC+1, ESC+2
DIEN EN1~, EN1+3*, EN1+8, EN1+12, VALUE+3
DIENTY EN1~, EN1+3*, EN1+4, EN1+5, EN1+10, EN1+16, EN1+17, VALUE+3, VALUE+6, SIMPLE+2
FIXED+5, ID+2, ENTITY+3, COMPLEX+5, COMPLEX+6, COMPLEX+7, COMPLEX+8, COMPLEX+9, LIST+1, LIST1+4
LIST1+11, LIST2+3, LIST2+10, LIST3+7, LIST3+8, LIST3+9, LIST3+10, LIST3+11, PREPROC~, PREPROC+2
IENPROC+3, ITMPROC+3, POST~, POST+2
DIFN EN1+1~, EN1+4*, EN1+12, VALUE+5
DITM EN1+1~, EN1+17*, EN1+18
DLIST LIST1+1~, L1+2*, LIST2+1~, LIST4+1~
DLIST( L1+3, L1+4, LIST4+14, LIST4+15
DLIST("DILIST" L2+2, L2+3
DNAME EN1+1~, EN1+5*, EN1+24
DRES EN1+1~, EN1+2*, EN1+19*, EN1+21, EN1+22*, EN1+24*, ENQ+1*, ENQ+2
DSEQ EN1+1~, EN1+16*, EN1+17, EN1+19
DTYPE ELEMENT~, ELEMENT+8*, ELEMENT+9
DUZ EN1+12
ELEMENT ADD~, ADD+1, ADD+7, ADD+8, ADD+9
ENTITY ENTITY+1~, ENTITY+2*, ENTITY+15, ENTITY+16, ENTITY+17, LIST1+1~, LIST1+2*, LIST1+12, LIST1+13, LIST1+17
LIST1+18, LIST1+19, L1+10, L1+11, L1+16, LIST2+1~, LIST2+2*, LIST2+11, LIST2+12, LIST2+13
LIST2+14, LIST2+15, L2+9, L2+10, L2+15, LIST4+1~, LIST4+8*, LIST4+9, LIST4+10, LIST4+17
LIST4+18, LIST4+23
ERR ENTITY+1~, ENTITY+3*, LIST1+1~, L1+5*, L1+10, L1+11, L1+13, LIST2+1~, L2+2, L2+4*
L2+9, L2+10, L2+12, LIST3+15, LIST4+1~, LIST4+14, LIST4+16*, LIST4+18, LIST4+20
ERROR EN1~, EN1+2*, EN1+8*, EN1+10, EN1+13*, EN1+16, EN1+17, EN1+18, ENTITY+20*, COMPLEX+5
COMPLEX+11, COMPLEX+14, LIST+5, LIST3+7
FIELD VALUE+1~, VALUE+4*, SIMPLE+6, SIMPLE+7*, SIMPLE+9, WORD+5, WORD+6*, WORD+7, ENTITY+8, ENTITY+9*
ENTITY+11, LIST1+9, LIST1+10*, L1+6, L1+7, L1+11, LIST2+8, LIST2+9*, L2+5, L2+6
L2+10
FILE VALUE+1~, VALUE+4*, VALUE+5*, SIMPLE+9, WORD+7, ENTITY+11, L1+2, L1+7, L2+1, L2+6
FILTER LIST1+1~, LIST1+3*, LIST1+16*, LIST1+20*, L1+2
FMT SIMPLE+1~, SIMPLE+8*, SIMPLE+9, ENTITY+1~, ENTITY+10*, ENTITY+11, LIST1+1~, LIST1+11*, L1+7, LIST2+1~
LIST2+10*, L2+6
I WORD+1~*, WORD+7*, WORD+10*, WORD+12*, WORD+13, ESC+4~, ESC+6*, ESC+8*, ESC+14*, ESC+15*
, ESC+16*, ESC+17*, ESC+18*, ESC+20*
ID ENTITY+1~, ENTITY+13*, ENTITY+16
IDX0 COMPLEX+1~, COMPLEX+8*, COMPLEX+9, COMPLEX+11, LIST3+1~, LIST3+10*, LIST3+11, LIST3+13
IDX1 COMPLEX+1~, COMPLEX+6*, COMPLEX+7, LIST3+1~, LIST3+8*, LIST3+9
IEN VALUE+1~, VALUE+3*, SIMPLE+9, ID+6, WORD+7, ENTITY+11, LIST2+2
IEN1 LIST1+1~, L1+4*, L1+7, L1+11, LIST2+1~, L2+3*, L2+6, L2+10
IENS LIST2+1~, LIST2+2*, L2+1, L2+3
ITEM VALUE+1~, VALUE+8*, VQ+1, SIMPLE+16*, SIMPLE+17*, FIXED+9*, FIXED+10*, ID+13*, ID+14*, WORD+24*
WORD+25*, ENTITY+21*, ENTITY+22*, COMPLEX+12*, COMPLEX+14, COMPLEX+15*, COMPLEX+16*, LIST+6, LIST+7*, LIST+8*
L1+14*, L2+13*, LIST3+16*, LIST4+21*
ITM VALUE~, VALUE+3, VALUE+6, SIMPLE+2, FIXED+5, ID+2, ENTITY+3, COMPLEX+5, COMPLEX+6, COMPLEX+7
LIST+1, LIST1+4, LIST1+11, LIST2+3, LIST2+10, LIST3+7, LIST3+8, LIST3+9, ITMPROC+3
ITM0 VALUE+1~, VALUE+3*, VALUE+4, SIMPLE+7, SIMPLE+8, WORD+6, WORD+9, WORD+19, WORD+20, WORD+21
ENTITY+2, ENTITY+9, ENTITY+10, LIST1+2, LIST1+10, LIST1+11, LIST1+21, LIST2+2, LIST2+9, LIST2+10
LIST2+16, LIST3+2, LIST4+8, LIST4+11
ITM1 LIST+1~*, LIST+3, LIST1+3, LIST2+3, LIST3+2, LIST4+2
LKUP SIMPLE+1~, SIMPLE+7*, WORD+1~, WORD+6*, ENTITY+1~, ENTITY+9*, LIST1+1~, LIST1+10*, LIST2+1~, LIST2+9*
NAME ELEMENT~, ELEMENT+2, ELEMENT+3*, ELEMENT+13, ELEMENT+14, ELEMENT+19
NM1 LIST3+1~, LIST3+9*, LIST3+10
NOTAG EN1~, EN1+23, VALUE~, SIMPLE+16, FIXED+9, ID+13, WORD+24, ENTITY+21, COMPLEX+15, LIST+7
OPTION ELEMENT~, ELEMENT+5*, ELEMENT+12, ELEMENT+17
QOT ESC+4~*, ESC+12, ESC+18
QUERY LIST1+1~, LIST1+18*, L1+1
RES ADD+6~*, ADD+7*, ADD+8*, ADD+9*, ADD+10
SCREEN LIST1+1~, LIST1+4*, LIST1+17*, L1+2, LIST2+1~, LIST2+3*, LIST2+14*, L2+1
SEQ COMPLEX+1~, COMPLEX+5*, COMPLEX+6, COMPLEX+12, LIST1+1~, L1+3*, L1+4, L1+14, LIST2+1~, L2+2*
L2+3, L2+13, LIST3+1~, LIST3+7*, LIST3+8, LIST3+16, LIST4+1~, LIST4+14*, LIST4+15, LIST4+21
, ADD~, ADD+4*, ELEMENT~, ELEMENT+5*
STRING ADD~, ADD+1, ADD+6, ADD+7, ADD+9, ELEMENT~, ELEMENT+2*, ELEMENT+12, ELEMENT+13*, ELEMENT+14*
, ELEMENT+15*, ELEMENT+17, ELEMENT+18*, ELEMENT+19*, ELEMENT+20*, ELEMENT+22
TAG VALUE+1~, VALUE+4*, SIMPLE+17, FIXED+10, ID+14, WORD+25, ENTITY+22, COMPLEX+16, LIST+8, LIST1+1~
LIST1+3*, LIST1+13*, LIST1+21*, L1+14, LIST2+1~, LIST2+3*, LIST2+12*, LIST2+16*, L2+13, LIST3+1~
LIST3+2*, LIST3+16, LIST4+1~, LIST4+2*, LIST4+9*, LIST4+11*, LIST4+21
TAG1 COMPLEX+1~, COMPLEX+7*, COMPLEX+8
TYPE VALUE+1~, VALUE+6*, VALUE+8
U EN1+4, EN1+5, EN1+10, VALUE+4, SIMPLE+7, SIMPLE+8, WORD+6, WORD+9, WORD+19, WORD+20
WORD+21, ENTITY+2, ENTITY+9, ENTITY+10, COMPLEX+7, LIST1+2, LIST1+3, LIST1+10, LIST1+11, LIST1+15
LIST1+16, LIST1+21, LIST2+2, LIST2+3, LIST2+9, LIST2+10, LIST2+13, LIST2+16, LIST3+2, LIST3+9
LIST4+2, LIST4+8, LIST4+11, ADD+9
VALUE SIMPLE+1~, SIMPLE+2*, SIMPLE+6, SIMPLE+9*, SIMPLE+12, SIMPLE+14, SIMPLE+15*, SIMPLE+16, SIMPLE+17, FIXED+1~*
FIXED+5*, FIXED+7, FIXED+8*, FIXED+9, FIXED+10, ID+1~, ID+2*, ID+6*, ID+9, ID+11
ID+12*, ID+13, ID+14, WORD+1~*, WORD+11*, WORD+14*, WORD+15*, WORD+16*, WORD+18, WORD+20
WORD+21*, WORD+22*, WORD+23*, WORD+24, WORD+25, ENTITY+1~, ENTITY+3*, ENTITY+8, ENTITY+11*, ENTITY+12
ENTITY+13, ENTITY+16*, ENTITY+19, ENTITY+20, ENTITY+21, ENTITY+22, COMPLEX+1~, COMPLEX+11*, COMPLEX+12, LIST1+1~
L1+5*, L1+7*, L1+8, L1+9*, L1+10*, L1+11*, L1+13, L1+14, LIST2+1~, L2+4*
L2+6*, L2+7, L2+8*, L2+9*, L2+10*, L2+12, L2+13, LIST3+1~, LIST3+13*, LIST3+15
LIST3+16, LIST4+1~, LIST4+16*, LIST4+17*, LIST4+18*, LIST4+20, LIST4+21, ELEMENT~, ELEMENT+4*, ELEMENT+8
, ELEMENT+13, ELEMENT+14, ELEMENT+15, ELEMENT+18, ELEMENT+19, ELEMENT+20
WP WORD+1~, WORD+5
WP( WORD+10, WORD+12, WORD+13
WP(0 WORD+10
X EN1+1~, EN1+18*, EN1+19, WORD+1~, WORD+10*, WORD+11, WORD+13*, WORD+14, WORD+15, WORD+16
LIST4+1~, LIST4+15*, LIST4+17, LIST4+18, ELEMENT+9~*, ELEMENT+13, VALID~, VALID+2*, VALID+3, VALID+4
, ESC~, ESC+1, ESC+2, ESC+6*, ESC+8*, ESC+12, ESC+13*, ESC+14, ESC+15*, ESC+16*
, ESC+17*, ESC+18*, ESC+19*, ESC+20, ESC+21, ESC+22, PREPROC+1~, PREPROC+2*, IENPROC+2~, IENPROC+3*
ITMPROC+2~, ITMPROC+3*, POST+1~, POST+2*
X0 LIST1+13~*, LIST1+15, LIST1+16
XFRM SIMPLE+1~, SIMPLE+2*, SIMPLE+12, ID+1~, ID+2*, ID+9, ENTITY+1~, ENTITY+3*, ENTITY+12, LIST1+1~
LIST1+11*, L1+8, LIST2+1~, LIST2+10*, L2+7
XREF LIST1+1~, LIST1+3*, LIST1+15*, L1+2, LIST2+1~, LIST2+3*, LIST2+13*, L2+1
Y ELEMENT+9~*, ELEMENT+13, ELEMENT+18, ELEMENT+20, ESC+4~, ESC+12, ESC+13, ESC+14*, ESC+15*, ESC+16*
, ESC+17*, ESC+18*, ESC+19, ESC+20*, ESC+21*

Marked Items

Name Field # of Occurrence
$T(@(4) L1+1
$T(@TYPE VALUE+8
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All