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 |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: TIUSRVF

Package: Text Integration Utility

Routine: TIUSRVF


Information

TIUSRVF ; SLC/JM - Server calls for Template Fields ; 3/23/12 10:23am

Source Information

Source file <TIUSRVF.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Text Integration Utility 2 $$UPPER^TIULS  (LOCK,UNLOCK)^TIUSRVF1  
VA FileMan 2 ^DIC  FILE^DIE  

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

Package Total Caller Graph
Text Integration Utility 6 TIU FIELD EXPORT  TIU FIELD IMPORT  TIU FIELD LOAD  TIU FIELD LOAD BY IEN  TIU FIELD SAVE  TIUSRVF1  

Entry Points

Name Comments DBIA/ICR reference
LOAD(TIUY,FLD) ; Load Template Field by Name
LOADIEN(TIUY,FLDIEN) ; Load Template Field by IEN
GETCONV(DIR,L1,L2,COUNT,DOQ) ; Returns a list of XML conversions
XMLCONV(INPUT,DIR,DOQ) ; Returns Valid XML Text
XMLTXT(INPUT,FLDNAME,DOQ) ; Returns Valid XML Text
TRUETXT(INPUT,DOQ) ; Returns True text from XML
GETFLD(TIUY,FLD,ASXML,FLDIEN) ; Load Template Field into TIUY
SAVE(SUCCESS,TIUDA,TIUX) ; Save Template Field
; Input:
; TIUDA=IEN of TEMPLATE record
; TIUX(SEQ)=IEN of item
; Output:
; SUCCESS=IEN of item if successful, or
; 0^ Explanatory message if not
CREATE(NAME) ; Get or create Template Field record
SETXT0(TIUDA,FLD) ; Set the root node of the WP-field
FILE(SUCCESS,IENS,TIUX) ; Call FM Filer to commit updates to DB
EXPORT(TIUXML,FLDS) ; Exports Template Fields as XML
; FLDS should be an array of Template Field names, not IENs
ADDXML(TIUXML,IEN) ; Add a single Template Field to the XML list
FLDNAME(FLDNUM) ; Returns Field Name from it's number (DBIA 1412)
FLDNUM(FLDNAME) ; Returns Field Number from it's name (DBIA 1412)
ADD(XML,TXT,INDENT) ; Add text to XML
STRIP(INPUT) ;Strips leading and trailing spaces
STRIPLST(LIST) ; Strip spaces from all list entries
UPDATE(REPORT,SIDX,STATUS,REQNAME,TRUENAME) ; Update Status
IMPORT(REPORT,XMLTMP) ;Call layer for IMPORT2; created to maintain backward
IMPORT2(REPORT,XML,SAVEIT) ; Imports Template Fields from XML
; REPORT returns a status for each Template Field
; Template Field Created Successfully REQUESTED NAME^1
; Template Field Renamed to New Field REQUESTED NAME^0^NEW NAME

External References

Name Field # of Occurrence
^DIC CREATE+3
FILE^DIE FILE+4
$$UPPER^TIULS SAVE+12
LOCK^TIUSRVF1 SAVE+20
UNLOCK^TIUSRVF1 SAVE+30

Used in RPC

RPC Name Call Tags
TIU FIELD LOAD LOAD
TIU FIELD SAVE SAVE
TIU FIELD IMPORT IMPORT
TIU FIELD EXPORT EXPORT
TIU FIELD LOAD BY IEN LOADIEN

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(8927.1 FLDNAME+1, FLDNUM+1
^TIU(8927.1 - [#8927.1] GETFLD+2, GETFLD+5, GETFLD+6, GETFLD+20, GETFLD+23, GETFLD+28, SAVE+14, SAVE+25!, SAVE+27*, SETXT0+3
, SETXT0+4, SETXT0+5*, EXPORT+7, IMPORT2+62

Label References

Name Line Occurrences
$$CREATE SAVE+18
$$FLDNAME GETFLD+13, GETFLD+16, GETFLD+27, GETFLD+29
$$FLDNUM IMPORT2+48, IMPORT2+50
$$TRUETXT IMPORT2+21, IMPORT2+58
$$XMLCONV XMLTXT+2, TRUETXT+1
$$XMLTXT GETFLD+11, GETFLD+14, GETFLD+17, GETFLD+28
ADD GETFLD+11, GETFLD+14, GETFLD+17, GETFLD+27, GETFLD+28, GETFLD+29, GETFLD+30, EXPORT+4, EXPORT+9
ADDXML EXPORT+8, IMPORT2+64
FILE SAVE+29
GETCONV XMLCONV+2, XMLCONV+3
GETFLD LOAD+3, LOADIEN+1, ADDXML+1
IMPORT2 IMPORT+3
SAVE IMPORT2+38
SETXT0 SAVE+28
STRIP STRIPLST+5
STRIPLST IMPORT2+6, IMPORT2+65
UPDATE IMPORT2+10, IMPORT2+76

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ASXML GETFLD~, GETFLD+7, GETFLD+21, GETFLD+29, GETFLD+30
CNT XMLCONV+1~, XMLCONV+5*, XMLCONV+6, XMLCONV+8, XMLCONV+9
COUNT GETCONV~, GETCONV+4*, GETCONV+8*, GETCONV+11, GETCONV+12, XMLCONV+1~, XMLCONV+2, XMLCONV+3, XMLCONV+5
DATA IMPORT2+5~, IMPORT2+21*, IMPORT2+23*, IMPORT2+47, IMPORT2+48, IMPORT2+52
DFLDNUM IMPORT2+5~, IMPORT2+50*, IMPORT2+52
DIC CREATE+1~, CREATE+2*
DIC(0 CREATE+2*
DIDX IMPORT2+5~, IMPORT2+7*, IMPORT2+34*, IMPORT2+50, IMPORT2+51*, IMPORT2+52
DIR GETCONV~, GETCONV+9, XMLCONV~, XMLCONV+2, XMLCONV+3
DLAYGO CREATE+1~, CREATE+2*
DOQ GETCONV~, GETCONV+5, XMLCONV~, XMLCONV+2, XMLCONV+3, XMLTXT~, XMLTXT+2, TRUETXT~, TRUETXT+1
DR CREATE+1~
DT SETXT0+5
END UPDATE+2~, UPDATE+5*, UPDATE+6*, UPDATE+7*, UPDATE+8
ENDTAG IMPORT2+4~, IMPORT2+24*, IMPORT2+25, IMPORT2+27, IMPORT2+31
ERROR IMPORT2+4~, IMPORT2+7*, IMPORT2+9, IMPORT2+12, IMPORT2+15*, IMPORT2+17*, IMPORT2+27*, IMPORT2+30*, IMPORT2+44*, IMPORT2+53
, IMPORT2+55*, IMPORT2+57*, IMPORT2+77
FDA FILE+1~
FDARR FILE+1~, FILE+2*, FILE+3
FIRST GETFLD+1~, GETFLD+19*, GETFLD+25, GETFLD+26*, GETFLD+29
FLAGS FILE+1~, FILE+2*, FILE+4
FLD LOAD~, LOAD+2, LOAD+3, GETFLD~, GETFLD+2, GETFLD+3*, GETFLD+4, GETFLD+5, GETFLD+6, GETFLD+20
, GETFLD+23, GETFLD+28, SAVE+7~, SAVE+23*, SAVE+24, SAVE+25, SAVE+26, SAVE+27, SAVE+28, SETXT0~
, SETXT0+2*, SETXT0+3, SETXT0+4, SETXT0+5
FLDIEN LOAD+1~*, LOAD+3, LOAD+4, LOADIEN~, LOADIEN+1, LOADIEN+2, GETFLD~, GETFLD+2*, GETFLD+3
FLDN GETFLD+1~, GETFLD+13*, GETFLD+14, GETFLD+16*, GETFLD+17
FLDNAME XMLTXT~, XMLTXT+3, FLDNUM~, FLDNUM+1
FLDNUM FLDNAME~, FLDNAME+1
FLDS EXPORT~
FLDS( EXPORT+6, EXPORT+7
FNUM GETFLD+1~, GETFLD+12*, GETFLD+13, GETFLD+18*, GETFLD+20, GETFLD+23, GETFLD+27, GETFLD+28, GETFLD+29
FOUNDIEN SAVE+13~, SAVE+14*, SAVE+15
FP GETFLD+1~, GETFLD+13*, GETFLD+14
I GETFLD+1~, GETFLD+8*, GETFLD+9*, GETFLD+22*, GETFLD+23, EXPORT+2~, EXPORT+5*, EXPORT+6*, EXPORT+7, IMPORT2+4~
, IMPORT2+7*, IMPORT2+9*, IMPORT2+11, IMPORT2+66, IMPORT2+70*
ID GETFLD+1~, GETFLD+8*, GETFLD+18*, GETFLD+23
IDX XMLCONV+1~, XMLCONV+7*, XMLCONV+8*, XMLCONV+9, XMLCONV+10*, IMPORT2+63~, IMPORT2+66*, IMPORT2+67*, IMPORT2+69
IEN EXPORT+2~, EXPORT+7*, EXPORT+8, ADDXML~, ADDXML+1, IMPORT2+5~, IMPORT2+62*, IMPORT2+64, IMPORT2+73
IENS FILE~, FILE+2
IFROM XMLCONV+1~, XMLCONV+2, XMLCONV+3
IFROM( XMLCONV+6, XMLCONV+8
IND ADD+1~, ADD+2*, ADD+3
INDENT ADD~, ADD+2
INITNAME IMPORT2+5~, IMPORT2+58*, IMPORT2+60, IMPORT2+61*, IMPORT2+72
INPUT XMLCONV~, XMLCONV+4, XMLTXT~, XMLTXT+2, TRUETXT~, TRUETXT+1, STRIP~, STRIP+2, STRIP+5, STRIP+6*
, STRIP+7, STRIP+10, STRIP+11*
ITEM IMPORT2+4~, IMPORT2+16*, IMPORT2+17, IMPORT2+24, IMPORT2+25*, IMPORT2+26, IMPORT2+27, IMPORT2+28, IMPORT2+29, IMPORT2+55
, IMPORT2+56
ITO XMLCONV+1~, XMLCONV+2, XMLCONV+3
ITO( XMLCONV+9
J GETFLD+1~, GETFLD+19*, GETFLD+20*, GETFLD+23, GETFLD+28, IMPORT2+63~, IMPORT2+66*, IMPORT2+67*, IMPORT2+68, IMPORT2+69
L1 GETCONV~
L1( GETCONV+11*
L1(1 GETCONV+1*, GETCONV+11*
L1(2 GETCONV+2*
L1(3 GETCONV+3*
L1(4 GETCONV+6*
L1(5 GETCONV+7*
L2 GETCONV~
L2( GETCONV+12*
L2(1 GETCONV+1*, GETCONV+12*
L2(2 GETCONV+2*
L2(3 GETCONV+3*
L2(4 GETCONV+6*
L2(5 GETCONV+7*
LASTJ IMPORT2+63~, IMPORT2+66*, IMPORT2+68*, IMPORT2+70
LEN XMLCONV+1~, XMLCONV+6*, XMLCONV+9, XMLCONV+10
LEVEL IMPORT2+4~, IMPORT2+7*, IMPORT2+27, IMPORT2+32, IMPORT2+33*, IMPORT2+42*, IMPORT2+43, IMPORT2+50, IMPORT2+77
LEVELS IMPORT2+4~
LEVELS( IMPORT2+27, IMPORT2+32!, IMPORT2+43*, IMPORT2+50
LINE IMPORT2+4~, IMPORT2+11*, IMPORT2+12, IMPORT2+13, IMPORT2+14, IMPORT2+16, IMPORT2+18*, IMPORT2+19, IMPORT2+21, IMPORT2+22*
, IMPORT2+70*
LIST STRIPLST~, STRIPLST+3, STRIPLST+4, STRIPLST+6
NAME CREATE~, CREATE+3
NAMEIDX IMPORT2+54~, IMPORT2+59*, IMPORT2+61*, IMPORT2+71*, IMPORT2+72
NO IMPORT2+63~, IMPORT2+66*, IMPORT2+67, IMPORT2+69*, IMPORT2+70
NODE GETFLD+1~, GETFLD+5*, GETFLD+8, GETFLD+11, GETFLD+14
NODE3 GETFLD+1~, GETFLD+6*, GETFLD+9, GETFLD+15, GETFLD+17
OK2ADD IMPORT2+5~, IMPORT2+7*, IMPORT2+35*, IMPORT2+47, IMPORT2+73*
OUTPUT XMLCONV+1~, XMLCONV+4*, XMLCONV+8, XMLCONV+9*, XMLCONV+11, XMLTXT+1~, XMLTXT+2*, XMLTXT+3*, XMLTXT+4
PE IMPORT2+4~
PG IMPORT2+4~, IMPORT2+14*, IMPORT2+15, IMPORT2+16, IMPORT2+18
PL IMPORT2+4~, IMPORT2+13*, IMPORT2+14, IMPORT2+15, IMPORT2+16, IMPORT2+18, IMPORT2+19*, IMPORT2+20, IMPORT2+21, IMPORT2+22
PS IMPORT2+4~, IMPORT2+26*, IMPORT2+27, IMPORT2+28, IMPORT2+44, IMPORT2+47, IMPORT2+53, IMPORT2+55, IMPORT2+56
REPORT UPDATE~, IMPORT~, IMPORT+3, IMPORT2~, IMPORT2+10, IMPORT2+76
REPORT( UPDATE+8*, IMPORT2+79*
REQNAME UPDATE~, UPDATE+5, UPDATE+8, IMPORT2+5~, IMPORT2+8*, IMPORT2+10, IMPORT2+56*, IMPORT2+57, IMPORT2+58*, IMPORT2+59
, IMPORT2+76
SAVE IMPORT2+5~, IMPORT2+36, IMPORT2+38, IMPORT2+40!
SAVE( IMPORT2+48*, IMPORT2+52*, IMPORT2+75*
SAVEIT IMPORT2~, IMPORT2+38
SIDX UPDATE~, UPDATE+3*, UPDATE+8, IMPORT2+4~, IMPORT2+7*, IMPORT2+10, IMPORT2+76, IMPORT2+78*, IMPORT2+79
SKIP IMPORT2+4~, IMPORT2+46*, IMPORT2+53, IMPORT2+62, IMPORT2+70*, IMPORT2+74
STATUS UPDATE~, UPDATE+1, UPDATE+4, UPDATE+7, UPDATE+9*, IMPORT2+5~, IMPORT2+7*, IMPORT2+10, IMPORT2+41*, IMPORT2+70*
, IMPORT2+76
SUCCESS SAVE~, SAVE+8*, SAVE+9, SAVE+11*, SAVE+16*, SAVE+19*, SAVE+22*, SAVE+29, FILE~, FILE+5*
, IMPORT2+37~, IMPORT2+38, IMPORT2+39*, IMPORT2+41
TAG IMPORT2+4~, IMPORT2+28*, IMPORT2+29*, IMPORT2+30, IMPORT2+34, IMPORT2+35, IMPORT2+43, IMPORT2+44, IMPORT2+45, IMPORT2+47
, IMPORT2+48
TIUC SETXT0+1~*, SETXT0+4*, SETXT0+5
TIUDA SAVE~, SAVE+9, SAVE+15, SAVE+17, SAVE+18*, SAVE+19, SAVE+20, SAVE+25, SAVE+27, SAVE+28
, SAVE+29, SAVE+30, SETXT0~, SETXT0+3, SETXT0+4, SETXT0+5
TIUI SETXT0+1~*, SETXT0+3*, SETXT0+4, STRIP+1~, STRIP+5*, STRIP+10*
TIUIDX STRIP+1~, STRIP+4*, STRIP+5*, STRIP+6, STRIP+9*, STRIP+10*, STRIP+11, STRIPLST+1~, STRIPLST+2*, STRIPLST+3*
, STRIPLST+4, STRIPLST+6
TIULEN STRIP+1~, STRIP+2*, STRIP+3, STRIP+5, STRIP+6, STRIP+7*, STRIP+8, STRIP+9, STRIP+10
TIUMSG FILE+1~, FILE+5
TIUMSG("DIERR" FILE+5
TIUTEMP STRIPLST+1~, STRIPLST+4*, STRIPLST+5, STRIPLST+6
TIUX SAVE~, SAVE+24, SAVE+29, FILE~, FILE+3
TIUX( SAVE+9, SAVE+10, SAVE+12*, SAVE+14, SAVE+16, SAVE+18, SAVE+24, SAVE+26!, SAVE+27!
TIUXML EXPORT~, EXPORT+3!, EXPORT+4, EXPORT+8, EXPORT+9, ADDXML~, ADDXML+1
TIUY LOAD~, LOAD+3, LOADIEN~, LOADIEN+1, GETFLD~, GETFLD+11, GETFLD+14, GETFLD+17, GETFLD+27, GETFLD+28
, GETFLD+29, GETFLD+30
TIUY( LOAD+4*, LOADIEN+2*, GETFLD+23*
TIUY(1 GETFLD+8*
TIUY(2 GETFLD+9*
TMP GETCONV+10~, GETCONV+11*, GETCONV+12*, XMLCONV+1~, SAVE+7~, SAVE+20, SAVE+21, SAVE+30
TMPXML IMPORT2+63~, IMPORT2+64
TMPXML( IMPORT2+67, IMPORT2+69
TRUENAME UPDATE~, UPDATE+5, UPDATE+6, IMPORT2+5~, IMPORT2+8*, IMPORT2+10, IMPORT2+39, IMPORT2+59*, IMPORT2+61*, IMPORT2+62
, IMPORT2+72*, IMPORT2+75, IMPORT2+76
TXT ADD~, ADD+3
U GETFLD+9, GETFLD+11, GETFLD+14, GETFLD+23, SAVE+9, SETXT0+5, FILE+5, FLDNAME+1, UPDATE+6, UPDATE+7
, UPDATE+8, IMPORT2+39, IMPORT2+79
X CREATE+1~, CREATE+3*
XML ADD~, IMPORT2~, IMPORT2+6, IMPORT2+9, IMPORT2+11, IMPORT2+67, IMPORT2+69
XML( ADD+3*
XML(999999 ADD+3
XMLTMP IMPORT~
Y CREATE+1~, CREATE+4, CREATE+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All