DSIC VA DEFAULT SITE (1636)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIC VA DEFAULT SITE
TAG SITE
ROUTINE DSICVA
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
DESCRIPTION
This will return the name and station number for a medical center 
division.  Optional input parameters are allowed.  However, if not passed 
then return the data for the primary division (or institution) as of 
TODAY.
INPUT PARAMETER
  • DIV
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   6
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is a pointer to the medical center division file (#40.8).  If it is 
    not passed then return data for the primary division as of that date.
    
  • DATE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This optional Fileman date only will be used to return division data of 
    of that date.  Default value if not passed is TODAY.
    
RETURN PARAMETER DESCRIPTION
On error, return -1^error message
Else return p1^p2^p3^p4  where
  p1 = pointer to Institution file (#4)
  p2 = Institution file name
  p3 = Station number
  p4 = pointer to Medical Center Division file (#40.8) for that division
       which was the primary division as of that date.