SDEC PCSGET (3579)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC PCSGET
TAG PCSGET
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
GET clinics for a service/specialty (clinic stop)
INPUT PARAMETER
  • SDSVSP
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Service/Specialty name - NAME from the SD WL SERVICE/SPECIALTY file
                             - looks for 1st active
                             OR - Pointer to the SD WL SERVICE/SPECIALTY file
    
RETURN PARAMETER DESCRIPTION
; Successful Return:
 ; Unexpected Exception Return:
 ;     Handled by the RPC Broker.
 ;     M errors are trapped by the use of M and Kernel error handling.
 ;     The RPC execution stops and the RPC Broker sends the error 
generated
 ;     text back to the client.
 ;   global array containing Clinic IEN and Name of matching Hospital 
Locations
 ;   CLINSTOP  - pointer to CLINIC STOP file 40.7
 ;   CLINIEN   - pointer to the HOSPITAL LOCATION file 44
 ;   CLINNAME  - NAME from the HOSPITAL LOCATION file
 ; Caught Exception Return:
 ;   A single entry in the Global Array in the format "-1^<error text>"
 ;   "T00020RETURNCODE^T00100TEXT"