FactoryTalk Batch Services Properties dialog—Batch Reporting tab

In the
FactoryTalk Batch Services Properties
dialog, use the
Batch Reporting
tab to configure the method and settings that
FactoryTalk®
Archiver will use to archive event data.

Archive method setting

Select an
Archive method
for generating batch reports and archiving batch record data.
Archive methods
Method
Description
End of Batch Archiving
This option defers control of batch reporting to
FactoryTalk
Archiver and only performs batch reporting upon removal of the batch from the
BatchList
.
For this method, in Windows Services, you must stop the Archiver Service and set the
Startup Type
to
Manual
.
Incremental Archiving
This option defers control of batch archiving to
FactoryTalk
Archiver and performs batch reporting at user-defined intervals during batch execution.
For this method, in Windows Services, you must set the
Startup Type
for the Archiver Service to
Automatic
.
No Archiving - Queue Maintained
This option has no batch reporting or archiving application, but maintains a queue of unarchived event journal files.
No Archiving - No Queue
This option has no batch reporting or archiving application, and does not maintain a queue of unarchived event journal files. This is the default option.
TIP: Do not use this option if you have a custom archiver or are writing to the queue file.
TIP:
As of
FactoryTalk Batch
version 18.00, the
User Defined (End of Batch) archive
method is no longer supported or available.

Archiver properties

Configure the
Archiver properties
that define how
FactoryTalk
Archiver writes batch record data to a SQL table in the
BatchHistoryEx
database.
None of the
Archiver properties
are accessible for the
No Archiving - Queue Maintained
or
No Archiving - No Queue
methods.
Archiver properties
Property
Description
Database connection string
This optional field defines the Data Source Name (DSN) and ODBC connection string that
FactoryTalk
Archiver uses to locate the
BatchHistoryEx
database.
Example:
ODBC;DSN=FactoryTalk Batch Events;UID=installer;Trusted_Connection=Yes;APP=Factorytalk Batch Archiver;WSID=2019DCPMA0;DATABASE=BatchHistoryEx;TrustServerCertificate=Yes;
This field has a maximum length of 512 characters. The default value is
ODBC;
.
TIP: You can also use the
FactoryTalk
Archiver Setup application to write the ODBC connection string to the
Database connection string
field. Go to
Start
Rockwell Software
Archiver Setup
. In the
Machine Data Source
tab, select
FactoryTalk Batch Events
and click
OK
.
Table name
This optional field defines the name of the SQL table in the
BatchHistoryEx
database, where
FactoryTalk
Archiver writes batch record data.
This field has a maximum length of 128 characters. The default value is
BHBatchhis
.
Maximum records per transaction
This required field defines the maximum number of records that
FactoryTalk
Archiver writes to the
BatchHistoryEx
database at each record transfer.
This field has a minimum integer value of 1 and a maximum integer value of 10,000. The default value is
75
.
Incremental period
These fields are only enabled when you select the
Incremental Archiving
method. These fields define the interval at which batch reporting occurs during batch execution.
The interval must be a minimum of 5 seconds or 1 minute (depending on the selected
Period units
value).
Period units
Maximum log file size (MB)
FactoryTalk
Archiver logs all archiving activities to a log file (
Batcharc.log
). This required field defines the maximum size (in MB) of the log file. When the log file reaches maximum size, the log acts in a circular manner, with new records overwriting the oldest records.
This field has a minimum integer value of 1 and a maximum integer value of 1,024. The default value is
10
.
Delete the event journal file after it is fully archived.
Select this option to allow deletion of the
.evt
or
.evtj
files after
FactoryTalk
Archiver has stored the data in the ODBC database.
TIP: Deleting files after archiving is not a reversible action and is not recommended.
To configure the event types that
FactoryTalk
Archiver will archive, go to the FactoryTalk Batch Services Properties dialog—Archived Events tab.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal