Close of Business - The COB Service: Notice

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 34

1

Close of Business – The


COB Service
NOTICE
 
Copyright © 2010 - Present- Temenos Headquarters S.A. All rights reserved.
All content and images contain herein are copyright protected and are the property of Temenos Headquarters S.A. and/or its affiliates. You may
not reproduce, modify, distribute or republish materials contained in these materials (including by framing or similar means) without prior written
permission. You may not alter or remove any trademark, copyright or other notice from these materials.  Any rights not expressly granted herein
are reserved.
Learning Objectives
2
Objectives

The objectives of this session are

 Learn how COB works and the Stages of COB

 Learn how processes are defined in BATCH


application for COB

 Learn to execute and monitor COB in T24

 Learn the importance and usage of


EB.EOD.ERROR application
COB - Close Of Business
3

• COB stands for Close Of Business

• Marks the end of all financial transactions for the day and rolls forward the T24
date to the next business day

• COB can be run on every working day of the bank

• Let’s understand one of the processes done during COB with a simple example
Stages of COB
4

A 1. Application S 2.System Wide

Batch
O 5. Online Stages R 3.Reporting

D 4. Start of Day
COB – High Level Overview
5

Initiate COB
Initiate COB

System mode changed to B(atch) Reflected in the DATES


System mode changed to B(atch) application

Execution of jobs in A-S-R-D order


Execution of jobs in A-S-R-D order

Reflected in the DATES


System mode changed back to O(nline)
System mode changed back to O(nline) application

Execution of jobs in O(nline) stage


Execution of jobs in O(nline) stage
Batch Stage
A S 6
Batch
O Stages R
What? D

Each batch record, i.e , a Process, needs to be executed in a particular order,


for COB

Each Process consists of one or more Jobs that perform a specific task

All jobs within a process are also executed in the order they are defined and
Why?
NEVER simultaneously

 Stages tell the system the order of execution of COB


 Each Batch stage is suffixed with a 3 digit sequence number, between 000-999 . Ex : A000, A100, S000, R099 , D017
Batch Stage - Illustration
7

BATCH STAGE

A000 A100 S000 R099 ……

PROCESS 1 PROCESS 2 PROCESS 3 PROCESS 4 PROCESS 5

Job 1 Job 2 Job 3 Job 4 Job 5 Job 6 Job 7

Why should the processes be executed in a particular order?


BATCH Records
8

 List the processes in your T24 area – BATCH L

Process linked to a Batch stage, is a part of COB.

Process without a stage, is a service


BATCH – For a COB Process
9
BATCH Record – Process Status and Job Status
10

Status Codes
0 - Ready
1 - Running
2 - Completed
3 - Error
Process Status And Job Status - Relationship
11

Job
Update BATCH – Mark Process Status
1 as Running(0 to 1)
Next batch
record
Job Job
Process Update BATCH – Mark Job Status as
4 2
Running(0 to 1)

Job
3 Execute Job
No
Update BATCH – Mark Job Status as
Completed( 1 to 2)

Is it last job in the BATCH?

Yes

Update BATCH – Mark Process Status


as Completed(1 to 2)
Executing COB Service
12

Executing COB Service


Execution Of COB – tSM & tSA
13

• The entire COB process is controlled by tSM

• tSM acts as a manager and controls all worker processes that perform COB

• Launches worker processes

• Checks if worker processes are running as scheduled

• If any of the worker processes are dead, launches substitute worker


processes

• The actual COB process is executed by tSAs

• tSA stands for T24 Service Agent (Worker processes)

• Execute the jobs (routines) defined in BATCH record(s)


tSM And tSA – On MultiServer
14

 A module called MS(Multi Server) needs to be installed, if COB is to be run on


Multiple Application Servers

 Each T24 application server will have one tSM running. The job of this tSM is to
monitor the tSAs running on that server only
T24 Application Server 1 T24 Application Server 2
 Thumb rule : No. of tSAs = No. of processors * 2
tSM
tSM

tSA 2 tSA 3 tSA 4 tSA 2 tSA 3


TSA.SERVICE – For COB
15

TSA.SERVICE
• TSM is a service

• COB is a service

• TSM and COB are pre-configured in TSA.SERVICE application


Running COB in TAFJ using TAFJEE/Execute servlet
16

11

Check EB.EOD.ERROR

22 33
Steps – Running COB from TAFJ shell (Phantom Mode)
17

 Check EB.EOD.ERROR

 Set the field SERVICE.CONTROL to “START” in the records TSM and COB in
the TSA.SERVICE application. Commit and authorise both the records

 Launch TAFJ shell

 Type tRun START.TSM


Steps – Running COB in TAFJ (Interactive Mode)
18

 Login to TAFJ shell -> and type tRun START.TSM –DEBUG

 Open another session and type “tRun tSA” followed by the agent number
Steps – Running COB in TAFJ (Interactive Mode)
19
Date Change
20

• There will be one record per company in the DATES application

• ID of the record will be the company code


Date Change During COB
1 21
Initiate COB
Initiate COB

2
BATCH Record ID : UNAUTH.PROCESSING
BATCH
Batch Record
Stage : A001ID : UNAUTH.PROCESSING
Batch
Job NameStage : A001
: EB.CYCLE.DATES
Job Name : EB.CYCLE.DATES

3
BATCH Record ID : DATE.CHANGE
BATCH
Batch Record
Stage : D000ID : DATE.CHANGE
Batch Stage : D000
Job Name : B.DATE.CHANGE
Job Name : B.DATE.CHANGE

4
After the Online Stage is complete, the NEXT
After
RUN the Online
DATE Stage
is updated forisallcomplete, the NEXT
jobs executed today
RUN DATE
(excluding jobsiswith
updated for all jobsDexecuted
FREQUENCY and A) today
(excluding jobs with FREQUENCY D and A)
Date Change
22

Therecord in the DATES application that gets created during COB


<Company.Code> – COB, does not get deleted after COB

The record will exist and will be overwritten during the next COB

COB doesn’t use the DATES record with @ID <Company.Code> for processing

The record <Company.Code> is created and is used by the T24 system for new
transactions coming into the system while COB is running (Possible only if NS
module is installed)

What is the NS module??


Non Stop (NS) Module
23

• COB supports 24 hours non stop processing

• For this a product named NS (Non Stop) must be installed

• When NS is installed, the T24 system will be available for input when COB is
in progress

• It uses the DATES record with @ID - <Company.Code>

• Therefore, all transactions when input during COB, will have the value day
as next working day. Eg If we input a FT when COB is running on 10 JAN
2010, the value date for the transaction will be taken as 11 JAN 2010
Sorting of Jobs
24
tSA 1(TSM)
tSA 1(TSM)

tSA 2 tSA 3
tSA 2 tSA 3

Am I TSM? Am I TSM?
Am I TSM? Am I TSM?
NO NO

Sort BATCH records Sort BATCH records


Sort BATCH records Sort BATCH records

Job5, Job7, Job8, Job1, Job2, Job3 Job5, Job7, Job8, Job1, Job2, Job3
Job5, Job7, Job8, Job1, Job2, Job3 Job5, Job7, Job8, Job1, Job2, Job3

Batch Record ID Batch Job Name Frequency Next Run Date


(Process) Stage (Routine)
BNK/ACCRUAL.EOD S001 Job1 D TODAY
Job2 D TODAY
04-Jan-
04-Jan-
2010
BNK/STANDING.ORDER.EO D010 Job3 D 2010
D
Job4 M 07-Jan-2010
BNK/PL.CLOSE.EOD A005 Job5 D
Job6 A 10-Jan-2010
BNK/FT.EOD A100 Job7 D
Job8 D
Monitoring COB
25

• At TAFJ shell, give the command tRun EX to launch T24.

• Login to T24 by entering USER credentials

• Type COB.MONITOR at the awaiting application prompt from the classic user
interface of T24. Output is auto refreshed
Enquiry - COB.PROGRESS
26
COB - EB.EOD.ERROR
27

•Is there a file where all the errors encountered during COB can be viewed?

• Yes. The name of the file is EB.EOD.ERROR

•The id to a record in EB.EOD.ERROR is <company.code>.<date>

• Eg: GB0010001.20100120

•EB.EOD.ERROR contains one record per company per day running COB. The
details of the individual errors can be found in a file called
EB.EOD.ERROR.DETAIL

•The id to record in EB.EOD.ERROR.DETAIL application is present in the record


of EB.EOD.ERROR
EB.EOD.ERROR
28
EB.EOD.ERROR.DETAIL
29
EB.EOD.ERROR
30

How do we tell T24 that an error has been resolved?


Workshop
31

 Execute COB
Questions
32

While running COB the agents suddenly stops. What will you do?

COB stopped while running, there is no error logged in


EB.EOD.ERROR. On restarting COB, it stops at the same place. What
will you do?
Quiz – True /False
33
Quiz
1. The order in which the batch stages in COB runs is A,S,D,R,O
2. When there is only ONE Company record defined in T24 the BATCH records
for that company don’t have a Company Mnemonic prefix attached to their IDs
3. For a Batch job with Daily frequency the NEXT.RUN.DATE field can be left
blank
4. To run COB in interactive MODE use the START.TSM –DEBUG command from
the shell prompt
What Did We Learn?
34
Conclusion

In this learning unit, you learnt about an Introduction


to the COB service

You will now be able to understand

• COB and its Stages

• The BATCH application

• Executing COB in T24

• Date changes in T24

• Monitoring COB

• Troubleshooting

You might also like