Cob Doc1
Cob Doc1
Introduction
Objective
At the end of the session you will have
• Adequate knowledge to understand
• COB and its Stages
• The BATCH application
• Executing COB in T24
• Date changes in T24
• Monitoring
• Troubleshooting
COB - Close Of Business
• 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
1. Application (A) 2.System Wide (S)
Frequency
-D
- D nn
-W
-M
- M nn
-Y
- Y nn
-A
-SW
-SM
-SY
BATCH Record
BATCH Record
Process Status And Job Status
Update BATCH – Mark Process Status as 1
Next batch Running(0 to 1)
record
Execute Job 3
No
Is it last job in the BATCH? 5
5.1
Ye
Update BATCH – MarksProcess Status as
Completed(1 to 2)
5.2
Running COB
• Running COB
Execution Of COB
• The entire COB process is controlled by tSM
• tSM stands for T24 Service Manager
• As the name implies, it 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’s are started on the T24 application servers
tSM And tSA - MS
• A module called MS needs to be installed separately if COB is to be run on Multiple
Application Servers
tSM tSM
User
Service Control
TSA.WORKLOAD.PROFILE – Additional Feature
Review Time In TSA.SERVICE
• Review Time
• The job of the tSM is to
• Read the TSA.SERVICE records with SERVICE.CONTROL field set to START (COB in our case)
• Sleep
2
BATCH Record ID : UNAUTH.PROCESSING
Batch Stage : A001
Job Name : EB.CYCLE.DATES
3
BATCH Record ID : DATE.CHANGE
Batch Stage : D000
Job Name : B.DATE.CHANGE
4
After the Online Stage is complete, the NEXT
RUN DATE is updated for all jobs executed today
(excluding jobs with FREQUENCY D and A)
Date Change
• The record 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
• COB supports 24 hour non stop processing
• For this a product named NS (Non Stop) needs to 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 2008, the
value date for the transaction will be taken as 11 JAN 2008
Sorting of Jobs
tSA 1(TSM)
tSA 2 tSA 3
Am I TSM? Am I TSM?
NO NO
Job5, Job7, Job8, Job1, Job2, Job3 Job5, Job7, Job8, Job1, Job2, Job3
Batch Record ID Batch Stage Job Name Frequency Next Run Date
(Process) (Routine)
TODAY
04-May-
BNK/ACCRUAL.EOD S001 Job1 D 2008
Job2 D
BNK/STANDING.ORDER.EOD D010 Job3 D
Job4 M 07-May-2008
BNK/PL.CLOSE.EOD A005 Job5 D
Job6 A 10-May-2008
BNK/FT.EOD A100 Job7 D
Job8 D
Monitoring COB
• Monitoring COB
Understanding AGENT.STATUS Output
• Enquiry AGENT.STATUS shows the activity of every agent
Understanding AGENT.STATUS Output
• TSA.STATUS
• Only updated by tSM and tSA(s)
• Holds the status of all agents
• Type TSA.STATUS L to view details in the TSA.STATUS file
Other Ways To Monitor COB
• Type COB.MONITOR at the awaiting application prompt from
the
classic user interface of T24. Output is auto refreshed
Enquiry - COB.PROGRESS
Troubleshooting
• Troubleshooting
EB.EOD.ERROR
• 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.20080519
• 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
EB.EOD.ERROR.DETAIL
EB.EOD.ERROR
How do we tell T24 that an error has been resolved?
Questions
• While running COB the agents suddenly stops. What to do?
• COB stopped while running, there is no error logged in
EB.EOD.ERROR. On restarting COB, it stops at the same place.
What to do?
Recap
• COB stands for Close Of Business
• Stages In COB
• Application Wide
• System Wide
• Reporting
• Start of Day
• Online
• BATCH is the application where all the COB jobs are defined
Recap (Cont.)
• tSM stands for T24 Service Manager
this tSM is to monitor the tSAs running
Step 7: Login to the server where you are going to run COB by typing
TELNET <ip address of the server> at run prompt
ACCOUNT NAME: <O/S user name>
PASSWORD: <password set for the above user>
Step 8: Start the Service Manager (TSM)
jsh r09 ~ -->START.TSM –DEBUG
• manually launch tSA 2 for COB
• manually launch tSA 3 for COB
• manually launch tSA 4 for COB
Step 9: Start the agent COB. Open another telnet session to the server (like step 7)
jsh r09 ~ -->tSA 2
Step 10: Repeat step 9 for the other two agents (tSA 3 and tSA 4)
Recap (Cont.)
• How to Start COB? Phantom Mode(Cont.)
Step 7: Login to the server where you are going to run COB by typing
• TELNET <ip address of the server> at run prompt
ACCOUNT NAME: <O/S user name>
PASSWORD: <password set for the above user>
Step 8: Start the Service Manager (TSM)
jsh r09 ~ -->START.TSM
The TSM will take care of starting all the agents automatically
Recap (Cont.)
How to monitor COB?