Documente Academic
Documente Profesional
Documente Cultură
ROUTINES
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 Copyright © 2004under
extent possible TEMENOS HOLDINGS
applicable law.” NV
Information in this document is subject to change without notice.
Open
CALL necessary
OPF(FN.AC,F.AC) files
SEL.CMD=“SELECT “:FN.AC
CALL
Select the ids
EB.READLIST(SEL.CMD,SEL.LIST,’’,NO.OF.REC,
AC.DISP.SELECT
RET.CODE)
LOOP
REMOVE Y.AC.ID FROM SEL.LIST SETTING POS
WHILE Y.AC.ID:POS How do we share
Process each ID variables across
CALL F.READ(FN.AC,Y.AC.ID,R.AC,F.AC,Y.ERR)
CRT Y.AC.ID:R.AC<WORKING.BALANCE>
AC.DISP(ID) routines?
REPEAT
Select Routine
FBNK.JOB.LIST.<3>
SUBROUTINE AC.DISP.LOAD
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_AC.DISP.COMMON
FN.AC = ‘F.ACCOUNT’
F.AC = ‘’
CALL OPF(FN.AC,F.AC)
RETURN
END
SUBROUTINE AC.DISPL.SELECT
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_AC.DISP.COMMON
SEL.CMD = “SELECT “:FN.AC
CALL EB.READLIST(SEL.CMD,SEL.LIST,’’,NO.OF.REC,RET.CODE)
CALL BATCH.BUILD.LIST(‘’,SEL.LIST)
RETURN
END
Am I TSM Am I TSM
S.JOB.RUN S.JOB.RUN
EB.SORT.BATCH EB.SORT.BATCH
LD1,LD2,FX1,FX2,SC1,SC2 LD1,LD2,FX1,FX2,SC1,SC2
LD.EOD_LD1_BATCH.JOB.CONTROL_ _GB0010001_20040101
BNK/LD.EOD A001 : LD1,LD2
Sort all the
BATCH records BNK/SC.EOD A200 : SC1,SC2
in the order of
Batch Stage BNK/FX.EOD A100 : FX1,FX2
LD1 LD2,FX1,FX2,SC1,SC2
LD1,,LD2,FX1,FX2,SC1,SC2 BtRec LD1
LD1,LD2,FX1,FX2,SC1,SC2
,LD2,FX1,FX2,SC1,SC2 BtRc
LD1.LOAD LD1.LOAD
BATCH .STATUS BtSt
BNK/LD.EOD-LD1 BtSt
LD1.SELECT
Delete
Update
record
F.LOCKING
in F.LOCKING
like
UpdateBATCH.STATUS
Update BATCH.STATUS BtSt1 BtSt Read F.LOCKING 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)
TRG.EOD.RTN
I_TRG.EOD.RTN.COMMON
SUBROUTINE TRG.EOD.RTN.LOAD
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_TRG.EOD.RTN.COMMON
FN.AC = 'F.ACCOUNT' ; F.AC = ''
CALL OPF(FN.AC,F.AC)
RETURN
END
SUBROUTINE TRG.EOD.RTN.SELECT
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_TRG.EOD.RTN.COMMON
SUBROUTINE TRG.EOD.RTN(Y.AC.ID)
$INSERT I_TRG.EOD.RTN.COMMON
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_F.ACCOUNT
CALL F.READ(FN.AC,Y.AC.ID,R.AC.REC,F.AC,Y.AC.ERR)
R.AC.REC<AC.LOCAL.REF,2> = ‘Y’
CALL F.WRITE(FN.AC,Y.AC.ID,R.AC.REC)
RETURN
END
The xxx.SELECT routine will prepare a key only file containing all
the ids which need to be processed by this job
Back
Back
ID BNK/LD/EOD-LD1
Content FBNK.JB.LIST.2
Back
BNK/LD.EOD-LD1
processing
Back
BNK/LD.EOD-LD1
processing
Back
BNK/LD.EOD-LD1
processing
processed
Back
BNK/LD.EOD-LD1
processing
processed
Back
Back