1 CloseOfBusiness
1 CloseOfBusiness
Warning: This document, is protected by copyright law and international treaties. No part of this
document may be reproduced or transmitted in any form or by any means, electronic or mechanical,
for any purpose, without the express written permission of TEMENOS Holdings NV Unauthorized
reproduction or distribution of this presentation or any portion of it, may result in severe civil and
criminal penalties, and will be prosecuted to the maximum extent possible under applicable law.”
Information in this document is subject to change without notice.
• Introduction to COB
• Stages in COB
• BATCH application – An overview
• Date changes in COB
• tSM and tSA
• Working of tSM
• Working of tSA
• Executing COB using tSAs
• Application Wide
• System Wide
• Reporting
• Start Of Day
• Online
Initiate COB
Execution of jobs in
A-S-R-D order
Execution of jobs in
O(nline) stage
• Assumptions
– One server with 2 processors
– All COB routines are multithreaded
tSA
tSA1(TSM)
tSAtSA 2 tSAtSA 3
Am I TSM Am I TSM
[Link] [Link]
[Link] [Link]
LD1,LD2,FX1,FX2,SC1,SC2 LD1,LD2,FX1,FX2,SC1,SC2
LD.EOD_LD1_BATCH.JOB.CONTROL_ _GB0010001_20040101
BNK/[Link] A001 : LD1,LD2
Sort all the
BATCH records BNK/[Link] A200 : SC1,SC2
in the order of
Batch Stage BNK/[Link] A100 : FX1,FX2
LD1 LD2,FX1,FX2,SC1,SC2BtRec
LD1,,LD2,FX1,FX2,SC1,SC2 LD1 LD2,FX1,FX2,SC1,SC2
LD1,,LD2,FX1,FX2,SC1,SC2 BtRc
BtRec BtRc
[Link] [Link]
BATCH .STATUS BtSt
BNK/[Link]-LD1 BtSt
[Link]
Delete
Update
record
[Link]
in [Link]
Lk
[Link]
Update [Link] BtSt1 BtSt Read [Link] and obtain LIST file Lk
1 LD1FMLD2
LD2
111,2,3
3 5
2,,35
4 3
,,2,3 333,4,5
4,,55
,,4,5
2 LD3FMLD4
LD4
No more records
3 LD6
in the LIST file
LD5FMLD6
4 LD8
LD7FMLD8
Record
Recordnot
locked
found LD9FMLD10
LD1
LD5FMLD6
LD7FMLD8
LD1
LD10
LD6
LD8
(LD10)
(LD1)
Record not found. LD1FMLD2
LD3FMLD4
LD1LD4
LD2
(LD1)
Give
No
Nome
more
more
more
records
records
records 5 LD9FMLD10
LD10
Give me more records Give me more records
to process
LD1
LD1(LD10)
(LD5)
(LD6)
(LD7)
(LD8)
(LD1)
(LD9)
LD1 (LD1)
(LD2)
(LD3)
(LD4)
LD1,LD2,LC1,LC2,FX1,FX2 LC1,LC2,LD1,LD2,FX1,FX2
ID TSM
XX<[Link]
XX>[Link] ONE
USER
[Link] START
ID COB
XX<[Link] T24training1
XX>[Link] TWO
XX<[Link] T24training2
XX>[Link] THREE
USER INPUTTER
[Link] START
ID ONE
XX<TIME
XX>[Link] 1
ID TWO
XX<TIME 10:00
XX>[Link] 2
XX<TIME 12:00
XX>[Link] 3
ID THREE
XX<TIME
XX>[Link] 3
Field Description
ID 1–N
ID SYSTEM
[Link] 15
[Link] 300
[Link] 3
[Link] -DEBUG
Is my [Link] TSM?
tSA 2 -DEBUG
Is my
No. It is
[Link]
COB TSM?
CALL [Link]
CALL [Link]
Start processing the COB jobs
Scalability
Agents
Resilience
tSA
WORKLOAD tSA
Server B
tSM tSA
If one agent is terminated then its
transaction is rolled back and the
other agents will process the
tSA contract.
Assumption
Single company – US001001 with mnemonic BNK
[Link] contents
BNK/[Link]
Batch Stage : A001
Job Names : Job1 and Job 2
Frequency : D (For both the jobs)
BNK/[Link]
Batch Stage : A002
Job Names : Job3 and Job 4
Frequency : D (For both the jobs)
Only one tSA to perform COB
Next
Update [Link] – Mark
process Process as Running(0 to 1)
Execute Job