Extraction ISN assignment by transmission

Transaction Server item sequence number (ISN) assignment can be done before the extraction process.
Note: Configure only one ISN assignment method at the same time. Use either ISN assignment by transmission or ISN assignment by batch (ICL).
ISN assignment for a transmission can be started when:
  • A PresentmentGroupStateChange event occurs indicating that the transmission is loaded.
  • A PresentmentGroupConditionChange event occurs indicating that the transmission is accepted.
  • The Preload ISN Task scheduled Services Framework task runs.

In each case, the preload ISN task must be registered and configured. For this example, the task configuration name is “Pre Load ISN Task”. The configuration name must match the destinationID parameter of the event stanza. Also, in the task configuration, the value for the UOW Type for Sweep and Manual Mode parameter must be set to TRANSMISSION.

The event and scheduled task methods can be used together to ensure that all transmissions are assigned ISNs. Event processing initiates assignment immediately after a transmission is loaded and accepted, while a repeating, scheduled task provides a method of running assignment for eligible transmissions that might have failed to be processed by the event handler.

The following examples show how to configure an event task to perform an ISN assignment before an extraction. A scheduled repeating task is configured by using the Services Framework Scheduler page.

Create a PresentmentGroupStateChange event that starts the preload ISN task. The event occurs when the transmission is loaded, is not yet processed by the preload ISN task, and has a condition of accepted. The following sample shows the example event stanza, which is provided in the SchedulerReference.xml file that is included with the product:

<EVENT>
   <NAME>ISN File Allocation</NAME>
   <TYPE>PresentmentGroupColumnChange</TYPE>
   <TYPE>PresentmentGroupStateChange</TYPE>
   <EXEC>
      com.ibm.paydir.ima.txsvr.event.appbridge.PresentmentGroupEventHandler
   </EXEC>
   <PARAMETER name="msgType">TaskInitiation</PARAMETER>
   <PARAMETER name="states">LOADED</PARAMETER> 
   <PARAMETER name="condition">ACCEPTED</PARAMETER>
   <PARAMETER name="pending">N</PARAMETER>
   <PARAMETERREF>schedulerReferenceProperties</PARAMETERREF>
   <PARAMETER name="destinationID">Pre Load ISN Task</PARAMETER>
   <PARAMETER name="jmsSendQueue">FXH.SERVICESFRAMEWORK.INPUT.QUEUE</PARAMETER>
</EVENT>
Note: Extraction and ISN assignment cannot be running at the same time for the same batch (ICL). For more information, see Changes for Extraction with ISN Pre-assignment.

The ISN device selection user exit can be used for extraction ISN assignment by transmission.