IBM BJ0NJML Integration Guide - Page 149
FLATFILECONSUMER Cron Task Parameters, FLATFILECONSUMER Cron Task Processing Properties
View all IBM BJ0NJML manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 149 highlights
JMS Queues committed to the queue. Index files are available in the RECOVERY folder which is created in the cron task source directory. The XMLFILECONSUMER cron task uses the index file name to identify the file that was processed before the server or queue problem was encountered. The cron task continues to process the XML file starting at the last successfully committed noun in the index file. Errors that are identified after a message is successfully written to an inbound queue must be resolved in the Message Reprocessing application. FLATFILECONSUMER Cron Task Parameters The FLATFILECONSUMER cron task is the mechanism you must use to load flat files without any user intervention. The FLATFILECONSUMER cron task has the following predefined parameters: Parameter SOURCEDIRECTORY DELIMITER USEREXITCLASS TEXTQUALIFIER TARGETENENABLED Description A required parameter value that defines the directory where source files are loaded. This directory must exist on the application server. A required parameter that indicates the character that is used as field delimiter in the flat file. The default value is , (comma). A custom processing class value to enable additional cron task capability (for example file load order). A required parameter value that defines the character that is used as text qualifier in the flat file. The default value is " (double quotation marks). A required Boolean flag value that determines whether the cron task runs in a specific application server. The default value is 0 (false). When set to a value of 1, the application server where the cron task was created is defined as a dedicated server for that particular cron task instance. All files available at the source directory are processed by the FLATFILECONSUMER cron task when you add a value to the SOURCEDIRECTORY parameter. The external system and the enterprise service are identified from the first record in the flat file that is imported, which is part of flat file definition. FLATFILECONSUMER Cron Task Processing Properties Keep in mind the following cron task processing properties for inbound messages: T File processing order - The order in which files are loaded on to the server that is determined by the XML file time stamp. The cron task user exit class can be used to overwrite the inbound message processing logic. Basic Configuration 135