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

Package: VA FileMan

Routine: DIETED


Information

DIETED ;SFISC/GFT - SCREEN EDIT AN INPUT TEMPLATE ; Nov 15, 2012

Source Information

Source file <DIETED.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
VA FileMan 12 NOW^%DTC  EDIT^DDW  DICS^DIA  RANGE^DIA1  $$EZBLD^DIALOG  ^DIC  YN^DICN  EN^DICOMP  
^DICOMPW  EN^DIEZ  OS^DII  ^DIM  

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: 3

Package Total Caller Graph
VA FileMan 2 DIET  DITCP  
Kernel 1 XPDCOMF  

Entry Points

Name Comments DBIA/ICR reference
K
EDIT(DIET) ; Edit Template using Screen Editor
E
DDW
KL
GET(DIETA,DIT) ;put displayable template into @DIETA
1
DOWN
DIAT
NDB
UP
PROCESS(DIETA) ;puts nodes into ^UTILITY("DIETED")
LINE(X) ;Process one LINE from the screen
OUT
ALL
SEMIC
DIC
X
L
D
DEF
XEC
DR ;takes 'Y' and puts it into 'DR' array
DIAB
PUT ;save template
SAVEAS
SAVEFLDS(Y) ;
NOW

External References

Name Field # of Occurrence
NOW^%DTC NOW
EDIT^DDW DDW
DICS^DIA ALLDEF+3
RANGE^DIA1 ALL+2, ALL+4
$$EZBLD^DIALOG KL+1
^DIC DIETED+8, DICSAVEAS+1
YN^DICN SAVEAS+2
EN^DICOMP DEF+3
^DICOMPW DIC+6
EN^DIEZ NOW+4
OS^DII E+1
^DIM DIC+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"NO TEMPLATE SELECTED",!
  • Line Location: E+2
Function Call: WRITE
  • Prompt: "..."
  • Line Location: E+4
Function Call: WRITE
  • Prompt: $C(7),$$EZBLD^DIALOG(8077)
  • Line Location: KL+1
Function Call: WRITE
  • Prompt: !!,"LINE ",LINE
  • Line Location: PROCESS+6
Function Call: WRITE
  • Prompt: " ERROR!",!!,"Press RETURN to continue"
  • Line Location: PROCESS+9
Function Call: WRITE
  • Prompt: !,$C(7),"Are you sure you want to overwrite this '",$P(Y,U,2)," 'Template"
  • Line Location: SAVEAS+2
Routine Call
  • DIALOG
  • Line Location:
    • KL+1
Routine Call
  • DIC
  • Line Location:
    • DIETED+8
    • DIC
    • SAVEAS+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD( 1+2, 1+5, 1+8, DIC+2
^DD("OS" - [#.7] E+1, DDW+3, NOW+4
^DD("ROU" NOW+4
^DIC - [#1] PROCESS+2
^DIE - [#.402] E+2, E+6, GET+3, SAVEAS+2, SAVEAS+3, SAVEAS+5*, SAVEAS+6, NOW*, NOW+1*, NOW+2!*
NOW+3!*, NOW+4
^DIE("F" SAVEAS+4*
^TMP("DIETED" KL!
^UTILITY("DIETED" K!, KL+2*, PUT+1, SAVEFLDS+2, NOW+2
^UTILITY("DIETEDIAB" K!, ALL+1*, DIAB*, NOW+3

Label References

Name Line Occurrences
1 11+6, 1+10, NDBUP+1
D DIC+3, L+2
DDW DDW+5
DEF DIC+5
DIC DEF
DOWN GET+7, 1+7, 1+8
DR OUT+2, ALL+3, DIC+1, DIC+4, L+2, XEC+4
E DIETED+9
GET E+5
K DDW+2, NOW+5
KL DDW+1
L DIC+6
LINE PROCESS+5
NDB 1
OUT OUT
PROCESS DDW+4
PUT DIETED+10
SAVEAS SAVEAS+2
SAVEFLDS SAVEAS+7
UP 1+9
X ALL+3, SEMICDIC+4, DEF

Naked Globals

Name Field # of Occurrence
^( NDB, PROCESS+3
^("DIAB" GET+6
^("ROU" NOW+4
^("ROUOLD" NOW+4
^(0 E+3, 1+5, NOW+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% 1+1*, 1+2, 1+5, 1+8*, DOWN*, PROCESS+8~, PROCESS+9*, SEMIC+1*, DIC+1*, DIC+2
DIC+3, L+1*, D~*, D+1, DR+1~, DR+2*, DR+3, DR+5, SAVEAS+2*, NOW
B DR+1~, DR+2*, DR+5
D LINE+1~, LINE+2*, LINE+3*, OUTOUT+1, ALL+2~, ALL+4~, SEMIC+1*
D( ALL+4*
D0 E~
DA ALL+2~, ALL+4~, DIC+6*, DEF+2*, XEC+1, XEC+5*
DATE LINE+1~
DB E~, GET+1~, GET+4*, 1*, 1+3, 1+6*, DOWN*, DOWN+1*, NDB*, UP+1*
DB( DOWN+1*, UP+1
DDSCHG DIETED+7~, DDW+6*
DG ALL+2~, ALL+4~
DI E~, GET+6*, 1+2, 1+3, 1+5, 1+7*, 1+8*, DIATNDBUP+1*
, PROCESS+2*, OUT*, ALL+1, DIC+3*, L+2*, DDR+2, DIAB
DI( 1+3
DIAB GET+1~, 1+3*, 1+5, PROCESS+1~, SEMIC*, DIC+6*, XEC+3*, XEC+4~, DIAB!
DIAO GET+1~, GET+4*, 1+3, DOWN+1*, NDB*, NDB+1*, UP+1*
DIAO( DOWN+1*, UP+1
DIAP PROCESS+1~, PROCESS+2*, OUT*, ALL+1, D+1*, D+2*, DR+4*, DR+5*, DR+7*, DIAB
DIAP( OUTD+2*
DIAR GET+1~, GET+4*, 1+3, DOWN*, DIATNDBUP+1*, PROCESS+1~, PROCESS+2*, OUT*
ALL+1, DD+1*, DR+2, DIAB
DIAR( DOWN*, UP+1, OUT, D*
DIAT GET+1~, GET+4*, 1DOWN, DIAT*, NDB*, UP+1*
DIC DIETED+7~, DIETED+8*, LINE+1~, DIC*, PUT+2~, SAVEAS*
DIC("A" SAVEAS*
DIC("B" PUT+3*, SAVEAS+2!
DIC("S" XEC*, SAVEAS*
DIC(0 DIETED+8*, DIC*, SAVEAS*
DICMX LINE+1~, DIC+6*, DEF+2*
DICOMP LINE+1~, DIC+6*, DEF+2*
DICOMPX LINE+1~
DIET DIETED+7~, DIETED+9*, EDIT~, E+2, E+6, GET+3, PUT+3
DIETA GET~, GET+2, 1+6, PROCESS~, PROCESS+3
DIETAB PROCESS+1~, PROCESS+2*, OUT*, OUT+1*, D+2
DIETAB( OUTD+2*
DIETAD GET+1~, GET+4*, 1+6*
DIETED DIETED+7~, EDIT+1~, E+3*, E+6, DDW+5, SAVEAS
DIETEDER E~, DDW+5!
DIETEDER( PROCESS+6*
DIETEDER(0 DDW+5
DIETH E~, E+6*, DDWDDW+5*
DIETREL GET+1~, 1+3*, 1+6, 1+7
DIETROW E~, E+6*, DDWDDW+5*
DIETSAVE PROCESS+1~, DIC+4*, DIC+5, DIC+6, DEFXEC+3
DIETSL PROCESS+1~, DIC+5*, DEFXEC+5
>> DISYS E+1, DDW+3, NOW+4
DIT GET~, GET+3*, GET+5, DIATNDBUP+1
DMAX SAVEFLDS+1~, NOW+4*
DP E~, DIC+5*, L+1, L+2, DEFDEF+2, XEC+2*, XEC+5, SAVEFLDS+1~, NOW+4*
DQI PROCESS+1~, DIC+6*, DEF+2*
DR E~, DDW+1!, KL+1, KL+2, GET+4*, PROCESS+2!, PROCESS+4!
DR( DDR+2
DR(99 L*
DRK DIETED+7~, EDIT+1~, E+6*, DDW, PROCESS+2
DRR LINE+1~, D+1, DR+2*, DR+3*, DR+4, DR+5*, DR+6
DTIME PROCESS+9
DTOUT E~, DDW+1
DUOUT E~, DDW+1
DUZ NOW+1
DUZ(0 DIC+4, DIC+5
DV LINE+1~, ALL+3*, SEMIC+1*, DIC+1, DEF*
DXS PROCESS+1~, PROCESS+2*, DIC+6, L*, DEF+2, XEC+2*
ERR PROCESS+1~, PROCESS+3!, PROCESS+6, X*
F E~, GET+4*, 1+6, DOWN*, DOWN+1, UPUP+1*, PROCESS+2*, OUT*, ALL+4
, D*, D+2
I DIETED+7~, EDIT+1~, DDW+2!, GET+1~
I( UP!, OUT!, DIC+3*, DEF+1, DEF+2
I(0 PROCESS+2*
J DIETED+7~, EDIT+1~, DDW+2!, GET+1~, ALL+3*, ALL+4, DEF+1*, DEF+2
J( 1+7*, 1+8*, UP!, UP+1, OUT!, DIC+3*
J(0 GET+5*, GET+6, PROCESS+2*, SAVEAS+4, SAVEAS+5
L E~, GET+1~, GET+4*, 1+7*, 1+8*, UP*, UP+1, PROCESS+1~, PROCESS+2*, OUT*
DIC+3*, DIC+6, L+1*, DEF+1, DEF+2
LINE PROCESS+1~, PROCESS+3*, PROCESS+4*, PROCESS+6*, PROCESS+7
U E+3, E+6, GET+5, 1+2, 1+5, 1+7, 1+8, DOWNDIC+1, DIC+2
DIC+3, L+1, D+1, DEF+1, XEC+2, XEC+5, SAVEAS+2, SAVEAS+4, SAVEAS+5, NOW
NOW+1, NOW+4
X PROCESS+3*, PROCESS+4, PROCESS+5, LINE~, LINE+2*, LINE+3*, LINE+4, OUT+2, ALLALL+1
ALL+3, SEMIC*, DIC+4*, DIC+6!*, LL+1!, DEF*, DEF+1*, DEF+2*, XEC
XEC+2, SAVEFLDS+1~, NOW+4*
X( XEC+1
Y DIETED+8, DIETED+9, 1*, 1+1*, 1+2*, 1+3*, 1+4*, 1+5*, 1+6, 1+9
, LINE+1~, OUT+2*, ALL+3, ALL+4*, SEMIC*, SEMIC+1!, DIC+1*, DIC+4*, L+1*, XEC
XEC+1*, XEC+2*, DR+5, DR+6, SAVEAS+2, SAVEAS+3, SAVEAS+4, SAVEAS+5, SAVEAS+6, SAVEAS+7
, SAVEFLDS~, SAVEFLDS+2, NOWNOW+1, NOW+2, NOW+3, NOW+4
Y(0 DIC+1, DIC+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All