Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Batch Processing
Batch Processes
Batch processes handle many important functions in the system
including:
The billing process (note that bills can also be created
online/ real time)
The process that monitors customers for overdue debt
The payment upload interfaced
The meter-read download and upload
and many more
4-2
4-4
Errors
There are 3 levels of errors that can occur during a batch job:
Warnings
Non-severe errors
Severe errors
You can also configure the system to create a To Do entry for
every error (not warnings) encountered during a batch process
(youll learn about To Dos in a future chapter; for now, just
understand that a To Do entry is an item in an online in-basket)
If you do not configure the batch job to create To Do entries
for errors, the errors are written to the batch runs message
log
Refer to the Framework Administration Guide - To Do Lists - To Do Entries
Created By Background Processes for more information
4-5
Errors
Warnings
These are unusual, but non-fatal conditions detected by the
job
An entry is created in the batch run's message log (explained
in a few slides) for each warning
Non-severe errors
These are errors that prevent the successful processing of a
unit of work, but not severe enough to abort the entire job
When these occur, all uncommitted changes are rolled back and
processing restarts where it left off (skipping the erroneous
object)
When more than X of these errors occur, the batch job will
abort (and X is a parameter that can differ for each batch job)
Severe errors
These are errors that will cause the batch job to abort
immediately
4-6
Parallel Processing
Start with one thread for every 100 MHz of application server CPU available. For example,
if you have 4, 450 MHz processors available on your application server, you can start with
18 threads to begin your testing: (450 * 4) / 100 = 18.
Refer to the Framework Administration Guide Defining Batch Processes
Optimal Thread Count for recommendations with respect to how to find the
optimal number of threads for your processes
4-8
Parameters
The default for all batch jobs is 1 (if you want multiple threads,
you must define a value)
The default differs per batch job (youll find the default in the
description of the batch job)
4-9
The default differs per batch job (you'll find the default in the
description of the batch job)
Parameters
Business date
The default is always the current date
Rerun number
This is used for batch jobs that produce extract files and is
only specified to re-extract historical output
Batch
Control
Batch Run
Parameter
Type
Thread
Execution
Instance
Message
Log
4 - 11
4 - 12
You will use the application viewer to see a list of the batch
processes
You will then return to the application and look at the
execution history of a batch job
4 - 13
4 - 14
Note, you can define the number of threads when you submit an ad hoc
request
This separate program should be set up to run every ___ minutes; see the
Installation Guide for how to enable it
Batch
Control
Batch Run
Ad Hoc
Batch
Queue
A separate entry is
created for each ad hoc
request
Instructor-Led Exercise
Watch your instructor submit a simple batch job (e.g., TDNOBC Create To Do entries for Accounts without Bill Cycles)
4 - 16
4 - 17
4 - 18
Batch Scheduler
For those organizations that do not have a third-party batch
scheduling tool, the system is supplied with a batch scheduler
along with the appropriate job streams
Note, this scheduler can only be used to execute batch jobs
developed using the development toolkit
If you have other batch jobs that are part of your job
streams, you must acquire a third-party scheduling tool
The batch scheduler is described in a separate chapter as it has
a prerequisite of understanding Workflow Process Templates
4 - 19
4 - 20
4 - 21
4 - 22
4 - 23
The Request
The batch request will be executed as per your batch scheduling rules
You can use the Sample and Submit portal to see the status of your
requests
When the batch job runs, this will
become Complete and the customer
contacts will be created
4 - 25
How To
4 - 26
4 - 27
4 - 28
Review Questions
4 - 29