0% found this document useful (0 votes)
91 views24 pages

1 CloseOfBusiness

Uploaded by

Raghavendra Rao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views24 pages

1 CloseOfBusiness

Uploaded by

Raghavendra Rao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CLOSE OF BUSINESS (COB)

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.

Copyright © 2005 TEMENOS HOLDINGS NV


Agenda

• 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

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


COB

• Stands fro Close Of Business


• Marks the end of all financial transactions for a day
• Supports 24 hours non stop processing – NS
installed

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


COB - STAGES

• Application Wide
• System Wide
• Reporting
• Start Of Day
• Online

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


COB – High Level Overview

Initiate COB

System mode changed to


B(atch)

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

System mode changed back to


O(nline)

Execution of jobs in
O(nline) stage

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


BATCH Application – An Overview

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


BATCH Application – An Overview (Cont.)

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


Date Changes

A000 D000 O999

[Link] [Link] [Link]

Change the next


run date

ID TODAY NEXT WORKING DAY LAST WORKING DAY


GB0010001 13
14 th July
14th July2003
2003 14
15 th July
15th July2003
2003 12
13 th July
13th July2003
2003
14th July 2003
GB0010001-COB 13 15th July 2003
14 13th July 2003
12

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


tSM and tSA

• tSM – t24 Service Manager


– Controls the COB
– Controls the various tSAs
• tSA – t24 Service Agent
– Execute the COB

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


Insight Into COB

• Assumptions
– One server with 2 processors
– All COB routines are multithreaded

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


COB And Multithreaded Routines

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

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


Execution Of COB Routines
tSA 2 tSA 3

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

BtUpd BATCH BtUpd


BtUpd2 BNK/[Link] BtUpd2

[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)

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


COB – Scenario 2

• Multiple batch records with the same batch stage


• Assumption

Batch ID Batch Stage Job Name


[Link] A100 LD1,LD2
[Link] A100 LC1,LC2
[Link] A100 FX1,FX2
• Randomize batch records with the same batch stage

LD1,LD2,LC1,LC2,FX1,FX2 LC1,LC2,LD1,LD2,FX1,FX2

• Never randomize jobs


• Ideal when multiple single threaded routines need to be
executed simultaneously

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


COB – Scenario 3

• Execution of single threaded routines


– Will not execute LOAD
– BJC running on the agent that holds a lock on
[Link] will write a value ‘SingleThreaded’ on to
the list file
– The agent that gets the lock on the ID in the LIST file will be
the one which executes the single threaded routine
– The entire single threaded routine is within a transaction
block

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


[Link] - TSM

Field Name Field Value

ID TSM

XX<[Link]

XX>[Link] ONE

USER

[Link] START

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


[Link] - COB

Field Name Field Value

ID COB

XX<[Link] T24training1

XX>[Link] TWO

XX<[Link] T24training2

XX>[Link] THREE

USER INPUTTER

[Link] START

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


[Link]

Field Name Field value

ID ONE

XX<TIME

XX>[Link] 1

Field Name Field Value

ID TWO

XX<TIME 10:00

XX>[Link] 2

XX<TIME 12:00

XX>[Link] 3

Field Name Field Value

ID THREE

XX<TIME

XX>[Link] 3

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


[Link]

Field Description

ID 1–N

[Link] Server running this tSA

STATUS STOPPED, RUNNING,DEAD

[Link] Date and time of last contact with the tSA.

PID Server O/S process id

SERVICE Current SERVICE being run (ID to [Link])

[Link] The next service as instructed by the tSM (ID to [Link])

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


[Link]

Field Field Value

ID SYSTEM

[Link] 15

[Link] 300

[Link] 3

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


Working of tSM

[Link] -DEBUG

Find free agent – [Link]

[Link] [Link] [Link] Status [Link] [Link]


[Link] [Link] [Link] Status [Link] [Link]
1 [Link] RUNNING TSM
1 [Link] TSM TSM
2 COB
3 COB

EXECUTE tSA 1 –DEBUG

Is my [Link] TSM?

EXECUTE tSM -DEBUG

Build the service profile by


reading [Link]
Service Profile TSMVMCOBFM1VM2

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


Working of tSA

tSA 2 -DEBUG

[Link] [Link] [Link] Status [Link] [Link]


1 [Link]
[Link] RUNNING TSM
TSM
2 [Link] RUNNING COB COB
3 COB
COB

EXECUTE tSA 2 –DEBUG

Is my
No. It is
[Link]
COB TSM?

CALL [Link]

CALL [Link]
Start processing the COB jobs

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


Working of tSM and tSA

Scalability
Agents
Resilience

tSA

tSM Server A List of


contracts
tSA to process
[Link]
list
[Link]

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.

Server C tSA Add more agents to


tSM increase throughput

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


Execution Of Jobs - COB

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

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV


Execution Of COB Jobs – A Summary
tSA 2

Next
Update [Link] – Mark
process Process as Running(0 to 1)

Update [Link] – Mark Job


as Running(0 to 1)

Execute Job

Update [Link] – Mark Job


as Completed( 1 to 2)
No
Is it last job in the BATCH?
Yes
Update [Link] – Mark
Process as Completed(1 to 2)

T3TCM – R05 – 1.0 Copyright © 2005 TEMENOS HOLDINGS NV

You might also like