PRG10.WS - Multithreaded Routines-R13

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Multithreaded Routines-

Workshop

Information in this document is subject to change without notice.

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.
Multithreaded Routines - Workshop

Table of Content
Table of Content ...................................................................................................................................... 2
Workshop 1 ............................................................................................................................................. 3
Workshop 2 ............................................................................................................................................. 3

TEMENOS Training Publications Page 2 of 3


T3TCM
Multithreaded Routines - Workshop

Workshop 1
An external interface is writing information in order to raise FUNDS.TRANSFER’s in T24. The
interface writes the ID’s in an ACTIVATION FILE named F.CREATE.FT.LIST and the actual message
is dumped in another file named F.ACTUAL.FT.MSG
F.CREATE.FT.LIST is a JR file, and F.ACTUAL.FT.MSG is an UD File.
A sample record id in F.CREATE.FT.LIST will be FT1 and the contents will be FT1, FT2 and its
contents FT2, so on and so forth. Basically this file will only contain the ID’s.
A sample record ID in F.ACUTAL.FT.MSG file will be FT1 and the contents will be
AC,22117,AUD,123,14524 i.e. all the details required to raise an Account to Account type FT
transaction in T24 (TRANSACTION.TYPE, DEBIT.ACCT.NO, DEBIT.CURRENCY, DEBIT.AMOUNT,
CREDIT.ACCT.NO)
You will have to write a Multithreaded routine that picks up the ID from the activation file, reads the
corresponding record from the ACTUAL.FT.MSG file and then calls OFS.POST.MESSAGE in order to
raise a FT Transaction. Make this multithreaded routine run as a service BNK/CREATE.FT
In order to do this workshop, create two files F.CREATE.FT.LIST (JR FILE) and ACTUAL.FT.MSG
(UD FILE) and populate some sample records in this file based on the information given above
NOTE: Make sure that the Account numbers that you use are valid account numbers in T24. Log in to
your area, and note down a few account numbers along with their currency.
Sample record in F.CREATE.FT.LIST

Sample record in F.ACTUAL.FT.MSG

Workshop 2
This workshop is based on the common variable CONTROL.LIST. There are 2 work files
F.WORKFILE.1 and F.WORKFILE.2 that are populated with temporary data during the day today
activities of the bank. The contents of this file have to be cleared during the close of business
operations. The job is adhoc. You will have to write a multithreaded routine to clear the contents of
these two files.
(For initial testing you can create a service. After the session on COB you can add this JOB in the
BATCH.STAGE A001 and delete the TSA.SERVICE record)

TEMENOS Training Publications Page 3 of 3


T3TCM

You might also like