INSERTBATCHSMARTCHECK
Insert token array in token vault for multiple values with custom data.
Import Parameters
- ITOKEN - Allows users to create custom tokenization functions (ITokenGeneratorandITokenValidatorasexplained in CREATEGENVALTOKENFORMAT) that define the way data is tokenized.
From the common parameters, refer to the source code below for exact parameters.
Tables Parameters
- JCO_T_VALUE - An array of values to be tokenized (Input parameter). 
- JCO_T_CUSTOMDATA - An array of customer specific data (Input parameter). 
- JCO_T_TOKEN - An array of tokens corresponding to the plaintext value array (Output parameter). 
- INSERT_STATUS - An array of status of insertion. If insertion is failed, an error message is returned, else blank is returned (Output parameter). 
Source Code
FUNCTION INSERTBATCHSMARTCHECK.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(NAEUSER) TYPE STRING
*" VALUE(NAEPASSWORD) TYPE STRING
*" VALUE(DBUSER) TYPE STRING
*" VALUE(DBPASSWORD) TYPE STRING
*" VALUE(TABLENAME) TYPE STRING
*" VALUE(FORMAT) TYPE INTEGER OPTIONAL
*" VALUE(LUHNCHECK) TYPE BOOLEAN OPTIONAL
*" VALUE(ITOKEN) TYPE STRING OPTIONAL
*" VALUE(SAVEEXCEPTION) TYPE BOOLEAN
*" TABLES
*" JCO_T_VALUE STRUCTURE ZSTR STRUCTURE
*" JCO_T_TOKEN STRUCTURE ZSTR STRUCTURE
*" JCO_T_CUSTOMDATA STRUCTURE ZSTR STRUCTURE
*" INSERT STATUS STRUCTURE ZSTR STRUCTURE
*"----------------------------------------------------------------------
ENDFUNCTION.