Formats task

The Formats task loads Swift formats data from Swift, which is the new feed from Swift to support validate IBANs.

After the formats task is complete, a tactical activation message is sent to the Business Rules Server to reload the data. For more information about tactical activation, see Tactical activation.

Register the task

Use the task registry page in the Services Framework user interface. For more information, see Registering a task. The following table shows the fields that are needed to register this task.
Table 1. Fields to register the formats task
Field Description Value Example
Task classname Enter the Java class name for the task. com.ibm.fxh.swiftref.tasks.FormatsTask  
Task name Enter a descriptive name for the task. Customer specified. Load the Swift formats task codes into FTM.
Description Enter a detailed description about what the task does. Customer specified. Task that loads Swift codes such as country codes and currency codes.
The following table shows the runtime characteristics that this task supports.
Table 2. Runtime characteristics
Characteristic Setting Description
Manual Run Allowed This task can be run manually.
Scheduled Run Allowed This task be scheduled to run using the Services Framework timed interface.
Concurrent Run Not Allowed The task cannot run concurrently.

Configure the task

Services Framework tasks need to be configured before they can be used. The following list describes the configuration that the relationship task need.
  • Set the appropriate configuration parameters for the task. The parameters for this task are shown in the following tables.
  • The file is delivered to a configured target directory. This directory is normally configured as the source directory for an outbound Gateway.
Use the Services Framework task configuration page to provide the configuration parameters for the task. For more information, see Task Configuration page.
The following table shows the Services Framework task configuration parameters for the formats task.
Table 3. Formats Task configuration parameters
Parameter Description Example
Source directory Place either the full or delta formats file in this directory before running the task. Ensure that only one file is present during each run.
  • FORMATS-ALL-V1-F-2024-03-02.xml
  • FORMATS-ALL-V1-M-2024-03-02.txt
Error directory Store any formats files that fail during processing.  
Processed directory Store completed formats files in this directory after you finish processing.  
Structures to load Specify which structures from the file to load. The Swift FORMATS-ALL file supports multiple structures, such as:
  • ACCOUNT
  • ID
This task currently supports only the ACCOUNT structure at this time.
File format Choose the formats of the file to process. You can use one of the following:
  • XML: Use an XML file from Swift. The root node must start with <dataexport>.
  • TXT: Use a TXT file from Swift. The file must be structured with CR/LF line breaks, and each data field must be tab-delimited.
The default value is XML.

Information displayed during data loading

During various stages of data loading processing, the task displays the following information.
  • Whether the task execution is a manual run or a regular scheduled run.
  • Task execution messages that are appropriate for the stage of processing.
  • Task error messages, if any.
  • The total number of records read from the source file.
  • The total number of records that are inserted into the database.
  • The total number of records that are updated in the database.
  • The total number of records that are bypassed in the database.
  • The total number of records that are deleted in the database.
  • The total time taken by the task.