SDECLK UNLOCK

TITLEVALUE
NAMESDECLK UNLOCK
DESCRIPTIONThis RPC unlocks the request record that was locked using SDECLK LOCK.
TAGUNLOCK
ROUTINESDECLK
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERREQ
DESCRIPTIONAppt Request type - variable pointer pointer
to one of these files:
SDEC APPT REQUEST - A| A|123
SD WAIT LIST - E| E|123
REQUEST/CONSULTATION - C| C|123
RECALL REMINDERS - R|^ R|123
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERFLG
DESCRIPTIONUnlock 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 TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONA 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.
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONFALSE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED