SDECLK LOCK (3613)    REMOTE PROCEDURE (8994)

Name Value
NAME SDECLK LOCK
TAG LOCK
ROUTINE SDECLK
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
This RPC attempts to lock a request record.
Request records are in one of these files:
SDEC APPT REQUEST
REQUEST/CONSULTATION
SD WAIT LIST
RECALL REMINDERS
INPUT PARAMETER
  • REQ
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Appt Request type - variable pointer pointer
                        to one of these files:
                          SDEC APPT REQUEST    - A|<APPT IEN>     A|123
                          SD WAIT LIST         - E|<WL IEN>       E|123
                          REQUEST/CONSULTATION - C|<CONSULT IEN>  C|123
                          RECALL REMINDERS     - R|^<RECALL IEN>  R|123
    
RETURN PARAMETER DESCRIPTION
A single entry in the global array indicating the success/failure
of getting the lock:
   1. CODE    -  1 if successful, or 0^Message if could not get lock
   2. MESSAGE -  Message Text