Perform end of batch archiving

Selecting
End of Batch Archiving
defers control of batch reporting to
FactoryTalk® Event Archiver
and only performs batch reporting upon removal of the batch from the Batch List. The End of Batch Archiving runs in the security context of the
FactoryTalk® Batch
Server.
When using End of Batch Archiving,
FactoryTalk Event Archiver
must be disabled as a Windows service and cannot be controlled using the
FactoryTalk Batch Service Manager
. See the for information on disabling
FactoryTalk Event Archiver
as a service.
TIP: If Event Journal Signatures are enabled, specify
End of Batch Archiving
to ensure that all event journal records are properly archived.
To perform end of batch archiving
  1. Open
    FactoryTalk® Administration Console
    and sign in to the
    FactoryTalk
    Network Directory.
  2. In
    FactoryTalk Administration Console
    Explorer
    , do one of the following:
    • For a new
      FactoryTalk Batch
      Server, right-click the application or the area name and select
      Add New Server
      FactoryTalk Batch Server
      .
    • For an existing
      FactoryTalk Batch
      Server, expand the application or the area name, right-click the server, and select
      Properties
      .
  3. In the
    FactoryTalk Batch Services Properties
    dialog, select the
    Batch Reporting
    tab.
  4. In the
    Archive method
    dropdown list, select
    End of Batch Archiving
    .
  5. In the
    Archiver
    properties area, select
    Delete the event journal file after it is fully archived
    to allow deletion of the
    .evt
    or
    .evtj
    files after
    FactoryTalk Event Archiver
    has stored the data in the ODBC database.
    IMPORTANT:
    Deleting files after archiving is not a reversible action and is not recommended.
  6. In the
    Table name
    box, type the name of the table that has the Batch data.
    TIP: The default
    Table name
    is
    BHBatchhis
    . To change the default
    Table name
    :
    1. Create a new table.
    2. Update the stored procedure named
      BHInsert
      to use the new table name.
      See the for instructions on creating a new table.
  7. In
    Database connection string
    enter either:
    • ODBC;DSN=DataSourceName;
    • ODBC;
    TIP:
    If the DSN is not specified the first time
    FactoryTalk Event Archiver
    is started, the
    FactoryTalk Event Archiver
    setup will decide the connection string and automatically update this value.
  8. To save the data in the
    Batch Reporting
    tab, select
    Apply
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal