CREATETOKENFORMATRANGELENGTH
Create a new token format specifying the min and max length of the token. The mask, if specified, is a fixed number of digits which will mask the leading positions.
Import Parameters
- FORMATFORTOKEN - The format in which token is required. 
- MINLENGTH - Minimum length for the token. The default value is 0. 
- MAXLENGTH - Maximum length for the token. The default value is 0. 
- LEADMASK - A fixed number of digits to mask the leading positions. For example, if - leadMaskis set to 7777, the first four digits of the token will be 7’s.
From the common parameters, refer to the source code below for exact parameters.
Export Parameters
- FORMATNUMBER - The integer representing the new token format. This value will be greater than 100.
Source Code
FUNCTION CREATETOKENFORMATRANGELENGTH.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(NAEUSER) TYPE STRING
*" VALUE(NAEPASSWORD) TYPE STRING
*" VALUE(DBUSER) TYPE STRING
*" VALUE(DBPASSWORD) TYPE STRING
*" VALUE(FORMATFORTOKEN) TYPE INTEGER
*" VALUE(MINLENGTH) TYPE INTEGER
*" VALUE(MAXLENGTH) TYPE INTEGER
*" VALUE(LEADMASK) TYPE STRING
*" EXPORTING
*" VALUE(FORMATNUMBER) TYPE INTEGER
*"----------------------------------------------------------------------
ENDFUNCTION.