GET_SYSKEY_LENGTH
Returns the length of SYSKEY for the current record.
Syntax
For C:
include "usrdecs"
short syskeylen,
short source_or_target;
short result;
result = GET_SYSKEY_LENGTH(&syskey_len, source_or_target);
For TAL:
?source usrdect
int result;
int .ext syskeylen;
int source_or_target;
result := GET_SYSKEY_LENGTH (syskeylen, source_or_target) ;
For COBOL:
?CONSULT =EXTRACT (or =REPLICAT)
01 result PIC S9(4) COMP.
01 syskeylen PIC S9(4) COMP.
01 source_or_target PIC S9(4) COMP.
ENTER C "GET_SYSKEY_LENGTH" using syskeylen, source-or-target
giving result.
syskeylen
The length of the system key.
source_or_target source-or-target
Represented by either EXIT‐FN‐SOURCE‐VAL or EXIT-FN-TARGET-VAL to indicate whether to retrieve the source or target record.
result
A code indicating whether the call was successful or not.