VIAA ENG GET LOCATION (3778)    REMOTE PROCEDURE (8994)

Name Value
NAME VIAA ENG GET LOCATION
TAG GETLOC
ROUTINE VIAAEUT
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
APP PROXY ALLOWED Yes
DESCRIPTION
This RCP requires two input parameters and returns 8 fields from the
Engineering SPACE file, #6928.
INPUT PARAMETER
  • RETSTA
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    DESCRIPTION:   
    This the return array for the calling application.
    
  • REQDATA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   255
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The key word "LOCATION" to indicate the return of all locations in the
    SPACE file, #6928.
    
RETURN PARAMETER DESCRIPTION
For a successful call execution, the output for the client will be placed
the client using the following format in ^TMP:
 
^TMP("VIAALOCATION",$J,0)="-###^reason_for_failure", where '###' is a
3-digit http status code. The piece 'reason_for_failure' explains what
caused the error in VistA.
in ^TMP("VIAALOCATION",$J,count,0) and returned via the variable
RETSTA; it will consist of the following fields from file #6928 using '^'
as a delimiter:
 
IEN, ROOM NUMBER, BUILDING NUMBER, BUILDING FILE POINTER, DIVISION, WING,
SERVICE, and INVERSE LOCATION. 
 
If an error occurs during call execution, a message will be returned to