;
; Set Variable V into piece P of REC using delimiter DLM
GETELM(STR,PIECES,SEPS)
;
; uses STRing and
; returns value of the element located by path of pieces and separators
; ex: 1st address line = $$getelm(ORC,"22,1","|,^")
; or = $$getelm(XMIT,"4,2,1","|,\F\,\S|")
MSGSEQER
;send error message to folks & DOD
EN(PATH,FNAME)
; needs directory & file name
; force an error in the next line
EN1
;
EN2
;entry for processing file into Vista Messages
EXIT
;
LOOP
XMZ
LOADTMP
; load data into ^TMP
CLEARFLS(XX,EXT)
;
PIECE(REC,DLM,XX)
;
; Set variable V = piece P of REC using delimiter DLM