VIAAEAD ;ALB/CR - RTLS Multiple RPCs for Engineering ;5/4/16 10:08am
Source file <VIAAEAD.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Real Time Location System | 2 | VIAA ENG ASSET MOVE VIAA ENG GET DATA |
Name | Comments | DBIA/ICR reference |
---|---|---|
EQMVUPD(RETSTA,AEMSID,ROOMNUM,TMSTMP) | ; Equipment move into AEMS
; RPC [VIAA ENG ASSET MOVE] |
|
RTLSDTEX(RETSTA,REQDATA,DATAID) | ; Extract AEMS-RTLS DATA
; RPC [VIAA ENG GET DATA] ; ; This RPC allows retrieval of one or all entries from the following ; files: ; EQUIPMENT INV. (6914) ; EQUIPMENT CATEGORY (6911) ; ENG SPACE (6928) ; ; Input: ; RETSTA is the name of the return array ; REQDATA identifies the type of data that is required ; "EQUIPMENT" for equipment ; "CATEGORY" for categories ; "LOCATION" for locations ; DATAID identifies which data is to be returned for REQDATA ; "ALL" for all data for a given REQDATA ; AEMSID for individual equipment item ; CATID for an individual category ; LOCID (IEN) for an individual location ; Output: ; Global ^TMP("VIAA"_REQDATA,$J) ; Contains data for REQDATA and DATAID, ; (if REQDATA="EQUIPMENT" and DATAID="ALL" ; then just AEMSIDs are returned) ; otherwise ; "-###^" concatenated with reason for failure message, where ; '###' is a 3-digit code |
|
EX1 | ||
GETEQPD(REQDATA,DATAID) | ; get equipment data
|
|
GETEQPD1(AEMSID) | ; get data for one item
|
|
GETCATD(REQDATA,DATAID) | ; retrieve AEMS category data from file 6911
|
|
GETCATD1(CATID) | ; get data for one category
|
|
GETSPCD(REQDATA,DATAID) | ; retrieve AEMS space/location data from file 6928
|
|
GETSPCD1(LOCID) | ; get data for one location
|
|
GETSPCD2(LOCDESC) | ; get data for all locations
|
|
GETNEENS(RETSTA,AEMSID,NUMBER) | ; Get a number of AEMSID's
|
|
EQSEED(RETSTA,AEMSID,LOCID,TMSTMP) | ; RPC to save an equipment move into AEMS
; When equipment moves to a new location ; this function updates the following fields in file 6914: ; LOCATION ; ; RETSTA is the name of the return array ; AEMSID is equipment ID (IEN in 6914) ; LOCID is the identity of the location at which the equipment is arriving ; TMSTMP is timestamp in ISO format |
|
ISO2FM(TMSTMP) | ; External date to FM date
; incoming format yyyy-mm-dd<space>hh:MM:ss ; e.g. 2012-02-07 09:08:06 |
|
FM2ISO(DATE) | ; convert FM date to ISO date
|
|
SYN(CATEG) | ; get all synonyms for a given category in a piece of equipment
|
Name | Field # of Occurrence |
---|---|
UPDATE^DIE | EQMVUPD+40, EQSEED+22 |
$$GET1^DIQ | GETEQPD+17, GETEQPD1+8, GETEQPD1+9, GETEQPD1+10, GETEQPD1+11, GETEQPD1+12, GETEQPD1+13, GETEQPD1+16, GETEQPD1+28, GETEQPD1+29 , GETEQPD1+30, GETEQPD1+31, GETEQPD1+34, GETEQPD1+38, GETEQPD1+40, GETEQPD1+41, GETEQPD1+44, GETEQPD1+45, GETEQPD1+46, GETEQPD1+47 , GETEQPD1+48, GETEQPD1+49, GETEQPD1+50, GETEQPD1+51 |
$$FMTHL7^XLFDT | FM2ISO+3 |
$$HL7TFM^XLFDT | ISO2FM+10 |
RPC Name | Call Tags |
---|---|
VIAA ENG ASSET MOVE | EQMVUPD |
VIAA ENG GET DATA | RTLSDTEX |
FileNo | Call Tags |
---|---|
^DIC(6910 - [#6910] | GET1^DIQ |
^ENG(6914 - [#6914] | GET1^DIQ |
6914.04 | GET1^DIQ |
^ENG(6914.1 - [#6914.1] | GET1^DIQ |
^ENCSN(6917 - [#6917] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ENCSN(6917 - [#6917] | GETEQPD1+37 |
^ENG("SP" - [#6928] | EQMVUPD+21, EQMVUPD+27, EQMVUPD+36, GETSPCD+3, GETSPCD+15, GETSPCD1+3, GETSPCD2+2 |
^ENG(6911 - [#6911] | GETEQPD1+20, GETEQPD1+21, GETCATD+8, GETCATD+9, GETCATD+12, GETCATD+21, GETCATD+23, GETCATD1+2, GETCATD1+3, GETCATD1+4 , SYN+4, SYN+7 |
^ENG(6914 - [#6914] | EQMVUPD+19, EQMVUPD+35, GETEQPD+3, GETEQPD+15, GETEQPD+16, GETEQPD1+7, GETNEENS+8, EQSEED+14, EQSEED+18 |
^ENG(6914.1 - [#6914.1] | GETEQPD1+42 |
^TMP( | RTLSDTEX+32*, RTLSDTEX+33*, RTLSDTEX+36*, RTLSDTEX+39!, EX1, GETEQPD+4*, GETEQPD+19*, GETEQPD+20*, GETEQPD+21, GETEQPD1+57* , GETEQPD1+58, GETCATD+8*, GETCATD+9*, GETCATD+13*, GETCATD+25*, GETCATD+26*, GETCATD+27, GETCATD1+2*, GETCATD1+7*, GETCATD1+8 , GETSPCD+4*, GETSPCD+17*, GETSPCD+18, GETSPCD1+2*, GETSPCD1+6*, GETSPCD1+7, GETSPCD2+5*, GETSPCD2+6, GETNEENS+6!, GETNEENS+10* , GETNEENS+11*, GETNEENS+12 |
^TMP("VIAADUP" | EQMVUPD+24!, EQMVUPD+27*, EQMVUPD+28, EQMVUPD+30! |
Name | Line Occurrences |
---|---|
$$ISO2FM | EQMVUPD+33, EQSEED+17 |
$$SYN | GETEQPD1+24 |
EX1 | RTLSDTEX+32, RTLSDTEX+33, RTLSDTEX+36 |
GETCATD | RTLSDTEX+41 |
GETCATD1 | GETCATD+17 |
GETEQPD | RTLSDTEX+40 |
GETEQPD1 | GETEQPD+10 |
GETSPCD | RTLSDTEX+42 |
GETSPCD1 | GETSPCD+10 |
GETSPCD2 | GETSPCD+16 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACQDATE | GETEQPD1+4~, GETEQPD1+31*, GETEQPD1+55 |
AEMSID | EQMVUPD~, EQMVUPD+18, EQMVUPD+19, EQMVUPD+35*, EQMVUPD+38, EQMVUPD+39, GETEQPD+13~, GETEQPD+14*, GETEQPD+15*, GETEQPD+16 , GETEQPD+19, GETEQPD1~, GETEQPD1+7, GETEQPD1+52, GETNEENS~, GETNEENS+2*, GETNEENS+8*, GETNEENS+10, EQSEED~, EQSEED+11 , EQSEED+14, EQSEED+18*, EQSEED+20, EQSEED+21 |
C | FM2ISO+1~, FM2ISO+2*, FM2ISO+6, FM2ISO+7 |
CATDESC | GETEQPD1+20*, GETEQPD1+22, GETCATD+23*, GETCATD+24, GETCATD+25, GETCATD1+1~, GETCATD1+4*, GETCATD1+5 |
CATDET | GETEQPD1+2~, GETEQPD1+17*, GETEQPD1+22*, GETEQPD1+25*, GETEQPD1+26*, GETEQPD1+52 |
CATDET2 | GETEQPD1+2~, GETEQPD1+24*, GETEQPD1+25, GETEQPD1+26, SYN+5*, SYN+8*, SYN+9 |
CATEG | GETEQPD1+2~, GETEQPD1+16*, GETEQPD1+17, GETEQPD1+19, GETEQPD1+20, GETEQPD1+21, GETEQPD1+24, SYN~, SYN+4, SYN+7 |
CATID | GETCATD+20~, GETCATD+21*, GETCATD+23, GETCATD+24, GETCATD+25, GETCATD1~, GETCATD1+2, GETCATD1+3 |
CIEN | GETCATD1+1~, GETCATD1+3*, GETCATD1+4, GETCATD1+5 |
CMRDESC | GETEQPD1+3~, GETEQPD1+42*, GETEQPD1+43*, GETEQPD1+53 |
CMRNAM | GETEQPD1+4~, GETEQPD1+41*, GETEQPD1+53 |
CMRPTR | GETEQPD1+3~, GETEQPD1+40*, GETEQPD1+41, GETEQPD1+42 |
COUNT | SYN+1~, SYN+4*, SYN+5, SYN+6 |
CSTKDESC | GETEQPD1+3~, GETEQPD1+35*, GETEQPD1+38*, GETEQPD1+54 |
CSTKIEN | GETEQPD1+3~, GETEQPD1+37*, GETEQPD1+38 |
CSTKNO | GETEQPD1+3~, GETEQPD1+34*, GETEQPD1+35, GETEQPD1+36, GETEQPD1+37, GETEQPD1+54 |
D | ISO2FM+3~, ISO2FM+4*, ISO2FM+6, ISO2FM+7, ISO2FM+8, FM2ISO+1~, FM2ISO+2*, FM2ISO+4, FM2ISO+7 |
DATA | GETEQPD1+4~, GETEQPD1+52*, GETEQPD1+53*, GETEQPD1+54*, GETEQPD1+55*, GETEQPD1+57, GETCATD+24*, GETCATD1+1~, GETCATD1+5*, GETCATD1+7 , GETSPCD1+1~, GETSPCD1+4*, GETSPCD1+6, GETSPCD2+1~, GETSPCD2+3*, GETSPCD2+5 |
DATAID | RTLSDTEX~, RTLSDTEX+33, RTLSDTEX+40, RTLSDTEX+41, RTLSDTEX+42, GETEQPD~, GETEQPD+3, GETEQPD+4, GETEQPD+9, GETEQPD+10 , GETCATD~, GETCATD+5, GETCATD+7, GETCATD+8, GETCATD+9, GETCATD+12, GETCATD+13, GETCATD+16, GETCATD+17, GETSPCD~ , GETSPCD+3, GETSPCD+4, GETSPCD+9, GETSPCD+10 |
DATAID1 | GETCATD+6~, GETCATD+7*, GETCATD+8, GETCATD+9 |
DATE | FM2ISO~, FM2ISO+3*, FM2ISO+4, FM2ISO+6, FM2ISO+7 |
DEFSITE | GETEQPD1+5~, GETEQPD1+50*, GETEQPD1+55 |
DISPDATE | GETEQPD1+4~, GETEQPD1+51*, GETEQPD1+55 |
DTTM | ISO2FM+3~, ISO2FM+7*, ISO2FM+8*, ISO2FM+10*, ISO2FM+11, FM2ISO+1~, FM2ISO+4*, FM2ISO+5*, FM2ISO+6*, FM2ISO+7* , FM2ISO+8 |
DTTT | ISO2FM+3~, ISO2FM+6*, ISO2FM+8 |
EIEN | GETEQPD+16*, GETEQPD+17, GETEQPD1+2~, GETEQPD1+7*, GETEQPD1+8, GETEQPD1+9, GETEQPD1+10, GETEQPD1+11, GETEQPD1+12, GETEQPD1+13 , GETEQPD1+16, GETEQPD1+28, GETEQPD1+29, GETEQPD1+30, GETEQPD1+31, GETEQPD1+34, GETEQPD1+40, GETEQPD1+44, GETEQPD1+45, GETEQPD1+46 , GETEQPD1+47, GETEQPD1+48, GETEQPD1+49, GETEQPD1+51, GETCATD+6~, GETCATD+9* |
ENTDAT | GETEQPD1+3~, GETEQPD1+46*, GETEQPD1+53 |
EQNAM | GETEQPD1+3~, GETEQPD1+11*, GETEQPD1+53 |
ERR | EQMVUPD+23~, EQMVUPD+41, EQSEED+15~, EQSEED+23 |
FDA | EQMVUPD+23~, EQSEED+15~ |
FDA(6914 | EQMVUPD+38*, EQMVUPD+39*, EQSEED+20*, EQSEED+21* |
FSYNON | GETEQPD1+4~, GETEQPD1+21*, GETEQPD1+22 |
I | SYN+1~, SYN+6*, SYN+7 |
LOCDESC | GETSPCD+13~, GETSPCD+14*, GETSPCD+15*, GETSPCD+16, GETSPCD1+1~, GETSPCD1+3*, GETSPCD1+4, GETSPCD2~, GETSPCD2+2, GETSPCD2+3 |
LOCID | GETEQPD1+2~, GETEQPD1+8*, GETEQPD1+52, GETSPCD1~, GETSPCD1+2, GETSPCD1+3, GETSPCD1+4, EQSEED~, EQSEED+12, EQSEED+21 |
LOCIEN | GETSPCD2+1~, GETSPCD2+2*, GETSPCD2+3 |
MANUF | GETEQPD1+2~, GETEQPD1+9*, GETEQPD1+52 |
MODEL | GETEQPD1+2~, GETEQPD1+12*, GETEQPD1+52 |
MOVDAT | GETEQPD1+3~, GETEQPD1+47*, GETEQPD1+53 |
NUMBER | GETNEENS~, GETNEENS+3*, GETNEENS+4, GETNEENS+8 |
P | ISO2FM+3~, ISO2FM+4*, FM2ISO+1~, FM2ISO+2*, FM2ISO+6 |
PASYST | GETEQPD1+4~, GETEQPD1+10*, GETEQPD1+54 |
PURCHORD | GETEQPD1+5~, GETEQPD1+29*, GETEQPD1+55 |
RECCT | EQMVUPD+23~, EQMVUPD+25*, EQMVUPD+27*, EQMVUPD+28, GETEQPD+6~, GETEQPD+7*, GETEQPD+18*, GETEQPD+19, GETEQPD+20, GETEQPD1+56* , GETEQPD1+57, GETCATD+3~, GETCATD+4*, GETCATD+9, GETCATD+22*, GETCATD+25, GETCATD+26, GETCATD1+6*, GETCATD1+7, GETSPCD+6~ , GETSPCD+7*, GETSPCD+17, GETSPCD1+5*, GETSPCD1+6, GETSPCD2+4*, GETSPCD2+5, GETNEENS+7*, GETNEENS+8, GETNEENS+9*, GETNEENS+10 , GETNEENS+11 |
RECDEL | SYN+1~, SYN+2*, SYN+7 |
REQDATA | RTLSDTEX~, RTLSDTEX+31, RTLSDTEX+32, RTLSDTEX+35, RTLSDTEX+40, RTLSDTEX+41, RTLSDTEX+42, GETEQPD~, GETCATD~, GETSPCD~ , GETNEENS+5* |
RESPSHOP | GETEQPD1+5~, GETEQPD1+48*, GETEQPD1+55 |
RETSTA | EQMVUPD~, RTLSDTEX~, EX1*, GETEQPD+21*, GETEQPD1+58*, GETCATD+27*, GETCATD1+8*, GETSPCD+18*, GETSPCD1+7*, GETSPCD2+6* , GETNEENS~, GETNEENS+4*, GETNEENS+12*, EQSEED~, EQSEED+10*, EQSEED+11*, EQSEED+12*, EQSEED+13*, EQSEED+14*, EQSEED+23* , EQSEED+24* |
RETSTA(0 | EQMVUPD+18*, EQMVUPD+19*, EQMVUPD+20*, EQMVUPD+21*, EQMVUPD+22*, EQMVUPD+29*, EQMVUPD+34*, EQMVUPD+41*, EQMVUPD+42* |
RNS | RTLSDTEX+30~, RTLSDTEX+31*, RTLSDTEX+32*, RTLSDTEX+33, RTLSDTEX+36, RTLSDTEX+39, EX1, GETEQPD+4, GETEQPD+19, GETEQPD+20 , GETEQPD+21, GETEQPD1+57, GETEQPD1+58, GETCATD+8, GETCATD+9, GETCATD+13, GETCATD+25, GETCATD+26, GETCATD+27, GETCATD1+2 , GETCATD1+7, GETCATD1+8, GETSPCD+4, GETSPCD+17, GETSPCD+18, GETSPCD1+2, GETSPCD1+6, GETSPCD1+7, GETSPCD2+5, GETSPCD2+6 , GETNEENS+5*, GETNEENS+6, GETNEENS+10, GETNEENS+11, GETNEENS+12 |
ROOMIEN | EQMVUPD+23~, EQMVUPD+27*, EQMVUPD+36*, EQMVUPD+39 |
ROOMNUM | EQMVUPD~, EQMVUPD+20, EQMVUPD+21, EQMVUPD+27, EQMVUPD+29, EQMVUPD+36 |
SERNO | GETEQPD1+2~, GETEQPD1+13*, GETEQPD1+53 |
SERVICE | GETEQPD1+3~, GETEQPD1+45*, GETEQPD1+54 |
SITEID | GETEQPD1+5~, GETEQPD1+49*, GETEQPD1+55 |
SYNON | SYN+1~, SYN+7*, SYN+8 |
TMSTMP | EQMVUPD~, EQMVUPD+22, EQMVUPD+33*, EQMVUPD+34, EQMVUPD+38, EQSEED~, EQSEED+13, EQSEED+17*, EQSEED+20, ISO2FM~ , ISO2FM+6, ISO2FM+7 |
TYPENTRY | GETEQPD1+5~, GETEQPD1+28*, GETEQPD1+54 |
U | GETEQPD1+20, GETEQPD1+21, GETEQPD1+22, GETEQPD1+42, GETEQPD1+52, GETEQPD1+53, GETEQPD1+54, GETEQPD1+55, GETCATD+23, GETCATD+24 , GETCATD+25, GETCATD1+4, GETCATD1+5, GETSPCD1+3, GETSPCD1+4, GETSPCD2+3, SYN+4, SYN+7 |
USESTAT | GETEQPD1+2~, GETEQPD1+44*, GETEQPD1+52 |
VALUE | GETEQPD1+2~, GETEQPD1+30*, GETEQPD1+53 |