4.1.1 Using Behavior Detection Datamaps

The Behavior Detection (BD) datamap takes the data from the CSA, enhances it, and then loads it into a target database table (FSDM). The Data Interface Specification (DIS) datamaps are used to load client-provided data, either through DIS files as specified in the DIS or through CSA tables.

Note:

All the DIS datamaps in the Behavior Detection Flat File Interface for which staging representation is marked as Yes are applicable for CSA loading. For more information, see Behavior Detection Flat File Interface.
To load data in the FSDM using BD, follow these steps:
  1. Configure the DIS.source parameter to FSDW. For more information on configuring other parameters, see Behavior Detection Flat File Interface.
  2. Execute the Account datamap which loads data into the Account (ACCT) table using the following sample script: <OFSAAI Installed Directory>/bdf/scripts/execute.sh Account
    This step can be repeated for all datamaps for which staging representation is marked as Yes.If there are any errors or rejections in loading data, refer to the <OFSAAI Installed Directory>/bdf/logs path to know about the errors in the log file.
  3. <Enter the next step.>

    Note:

    If BDF jobs fail intermittently with the following error: java.sql.SQLException: Stream has already been closed. You can resolve this issue by following these steps:
    1. Navigate to $FIC_HOME/bdf/scripts.
    2. Take a backup of the existing execute.sh file.
    3. Add the following parameter Doracle.jdbc.useFetchSizeWithLongColumn=true  after the $X_ARGS_GEN in the execute.sh file.
      For Example:
       $JRE_EXE -server -Xms${MINHEAP}
       - Xmx${MAXHEAP} -classpath 
      $CLASSPATH $X_ARGS_GEN - 
      Doracle.jdbc.useFetchSizeWithLongColumn=true 
      com.ofss.bdf.common.BDFProcessLauncher 
      $BDF_ROOT $*
    4. Provide proper permission and execute the datamap.