SDEC SETFAC (3486)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC SETFAC
TAG SETFAC
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
Remote procedure to Set the current facility/division for a given user.
INPUT PARAMETER
  • SDECDUZ
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    User ID pointer to NEW PERSON file 200
    
  • SDECFAC
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    facility/division to set - pointer to INSTITUTION file 4
    
RETURN PARAMETER DESCRIPTION
Returns a single entry in the Global Array with fields ERROR_ID and 
ERROR_TEXT