TITLE | VALUE | |
---|---|---|
NAME | SDECLK UNLOCK | |
DESCRIPTION | This RPC unlocks the request record that was locked using SDECLK LOCK. | |
TAG | UNLOCK | |
ROUTINE | SDECLK | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | REQ | |
DESCRIPTION | Appt Request type - variable pointer pointer to one of these files: SDEC APPT REQUEST - A| SD WAIT LIST - E| REQUEST/CONSULTATION - C| RECALL REMINDERS - R|^ | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | FLG | |
DESCRIPTION | Unlock if other job 0 = (default) only unlock if lock belongs to current user and current $J job 1 = unlock even if the lock does not belong to current user and current $J job | |
PARAMETER TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | ||
RETURN VALUE TYPE | GLOBAL ARRAY | |
RETURN PARAMETER DESCRIPTION | A single entry in the global array indicating the success/failure of releasing the lock: 1. CODE - 1 if successful, or 0^Message if could not get lock 2. MESSAGE - Message Text If message text="Not your lock" you can call again and send 1 as the 2nd input to unlock anyway. | |
AVAILABILITY | RESTRICTED | |
INACTIVE | ACTIVE | |
CLIENT MANAGER | ||
WORD WRAP ON | FALSE | |
VERSION | ||
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED |