YTXCHGI ;SLC/KCM - Instrument Specification Import ; 9/15/2015
Source file <YTXCHGI.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
IMPTREE(TREE,YTXDRY) | ; updates database from object tree source
; TREE : name of array containing object tree ; .YTXLOG: array of log info (count, errors) ; YTXDRY: 1 if just doing a dry run of the install |
|
DEPTH1(FILE,ARRAY) | ; loop 1 level deep in .ARRAY(1) to save in FILE
; FILE: file number ; ARRAY(n): subscript name for level n |
|
DEPTH2(FILE,ARRAY) | ; loop 2 levels deep in .ARRAY to save in FILE
; FILE: file number ; ARRAY(n): subscript name for level n |
|
DEPTH3(FILE,ARRAY) | ; loop 3 levels deep in .ARRAY to save in FILE
; FILE: file number ; ARRAY(n): subscript name for level n |
|
PROCESS(FILE,IDX) | ; using instances identified in IDX to save values to FILE
; expects: MAP,DONE,TSTIEN ; FILE: file number ; IDX: index values used to replace ?n subscripts |
|
FMSAVE(UPDTYPE,FILE,REC,IEN) | ; add/update file
|
|
DIFFREC(FILE,IEN,REC) | ; return 0 if identical, 1 if changed, 2 if absent
; expects MAP ; will modify .REC to remove empty fields that need no update |
|
WP2REC(TREEREF,FIELD,REC) | ; parse CRLF delimited JSON TREE text into ^TMP
|
|
SHOWREC(UPDTYPE,FILE,REC,IEN) | ; show record
|
|
DELETES(TSTIEN) | ; delete records no longer used by instrument
; expects YTXDRY,YTXVRB (if defined) ; uses "leftover" entries in ^TMP("YTXCHGI",$J,"ENTRY",file,ien) |
|
CHKNOTE(NAME) | ; Return 1 if a default note should be added
|
|
ADDNOTE(NAME) | ; Add default note for this instrument
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|