Você está na página 1de 29

TEMENOS T24

IN2 Routines

User Guide

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.
Copyright 2008 TEMENOS Holdings NV. All rights reserved.

IN2 Routines

Table of contents
Overview ........................................................................................................................ 5
Alphanumeric ............................................................................................................... 6
IN2A .................................................................................................................................................... 6
IN2AA .................................................................................................................................................. 6
IN2AAA................................................................................................................................................ 6
IN2ANY ............................................................................................................................................... 6
IN2ATT ................................................................................................................................................ 6
IN2DIR................................................................................................................................................. 6
IN2MNE ............................................................................................................................................... 6
IN2MNELC .......................................................................................................................................... 6
IN2MNEM ............................................................................................................................................ 6
IN2S .................................................................................................................................................... 6
IN2SS .................................................................................................................................................. 7
IN2SSS................................................................................................................................................ 7
IN2SW ................................................................................................................................................. 7
IN2SWI ................................................................................................................................................ 7
IN2SX .................................................................................................................................................. 7
IN2TEXT.............................................................................................................................................. 7
IN2TLX ................................................................................................................................................ 7
IN2VER ............................................................................................................................................... 7

Amounts......................................................................................................................... 8
IN2 (no suffix) ...................................................................................................................................... 8
IN2AMT ............................................................................................................................................... 8
IN2BMT ............................................................................................................................................... 8
IN2CCYDEC........................................................................................................................................ 9
IN2DEC ............................................................................................................................................... 9
IN2LAMT ............................................................................................................................................. 9
IN2NOMAMT ..................................................................................................................................... 10
IN2R.AMT.......................................................................................................................................... 10

Dates ............................................................................................................................. 11
IN2D .................................................................................................................................................. 11
IN2.ACCD.......................................................................................................................................... 11
IN2.AD ............................................................................................................................................... 11
IN2.CCYD.......................................................................................................................................... 11
IN2.D ................................................................................................................................................. 11
IN2.YM .............................................................................................................................................. 11
IN2COMPFQU .................................................................................................................................. 11
IN2DXMATDT ................................................................................................................................... 12
IN2DDMM.......................................................................................................................................... 12
IN2FQF.............................................................................................................................................. 12
IN2FQO ............................................................................................................................................. 12
IN2FQU ............................................................................................................................................. 12
IN2FQUAZ......................................................................................................................................... 12
IN2MATBL ......................................................................................................................................... 12
IN2MATLMM ..................................................................................................................................... 13
IN2MD ............................................................................................................................................... 13
IN2TIME ............................................................................................................................................ 14
IN2YM ............................................................................................................................................... 14

Account Numbers ..................................................................................................... 15


IN2.ALLACCVAL ............................................................................................................................... 15
IN2.ANTD .......................................................................................................................................... 15
Temenos T24 User Guide

Page 2 of 29

IN2 Routines

IN2.AYM ............................................................................................................................................ 15
IN2.MCPLINT .................................................................................................................................... 15
IN2ACC ............................................................................................................................................. 15
IN2ALL .............................................................................................................................................. 15
IN2ALTKEY ....................................................................................................................................... 15
IN2ANT.............................................................................................................................................. 15
IN2INT ............................................................................................................................................... 15
IN2MCACC........................................................................................................................................ 15
IN2NOSACC ..................................................................................................................................... 16
IN2NOSALL....................................................................................................................................... 16
IN2NOSANT ...................................................................................................................................... 16
IN2PLANT ......................................................................................................................................... 16
IN2SER ............................................................................................................................................. 16

Category....................................................................................................................... 17
IN2CAT.............................................................................................................................................. 17
IN2PRODCAT ................................................................................................................................... 17

Currency ...................................................................................................................... 18
IN2CCY ............................................................................................................................................. 18

Charges, Commissions and Tax ........................................................................... 19


IN2CHG ............................................................................................................................................. 19
IN2TAX .............................................................................................................................................. 19

Company ...................................................................................................................... 20
IN2COM ............................................................................................................................................ 20

Customer ..................................................................................................................... 21
IN2BIC ............................................................................................................................................... 21
IN2CUS ............................................................................................................................................. 21
IN2CUST.BIC .................................................................................................................................... 21

Dept Account Officer ................................................................................................ 22


IN2DAO ............................................................................................................................................. 22

Programs ..................................................................................................................... 23
IN2API ............................................................................................................................................... 23
IN2HOOK .......................................................................................................................................... 23
IN2LAUNCH ...................................................................................................................................... 23
IN2PG................................................................................................................................................ 23
IN2PV ................................................................................................................................................ 23

Rate ............................................................................................................................... 24
IN2FWDR .......................................................................................................................................... 24
IN2PRICE .......................................................................................................................................... 24
IN2R .................................................................................................................................................. 24
IN2RR................................................................................................................................................ 24

Securities ..................................................................................................................... 25
IN2SAM ............................................................................................................................................. 25
IN2SEC ............................................................................................................................................. 25

Miscellaneous............................................................................................................. 26
IN2DEF.............................................................................................................................................. 26
IN2DESK ........................................................................................................................................... 26
IN2DFMT ........................................................................................................................................... 26
Temenos T24 User Guide

Page 3 of 29

IN2 Routines

IN2DS ................................................................................................................................................ 26
IN2DXCM .......................................................................................................................................... 26
IN2DXEM .......................................................................................................................................... 26
IN2DXPRI .......................................................................................................................................... 27
IN2EBFMT......................................................................................................................................... 27
IN2EFM ............................................................................................................................................. 27
IN2ENQ ............................................................................................................................................. 27
IN2FNO ............................................................................................................................................. 27
IN2GMF ............................................................................................................................................. 27
IN2HEX ............................................................................................................................................. 27
IN2LETT ............................................................................................................................................ 27
IN2LINE ............................................................................................................................................. 28
IN2MENU .......................................................................................................................................... 28
IN2PASSWD ..................................................................................................................................... 28
IN2PRD ............................................................................................................................................. 28
IN2REC ............................................................................................................................................. 28
IN2RELTIME ..................................................................................................................................... 28
IN2RF ................................................................................................................................................ 28
IN2RPT.............................................................................................................................................. 28
IN2SORT.CODE ............................................................................................................................... 28
IN2SPT .............................................................................................................................................. 28
IN2STAT............................................................................................................................................ 29
IN2T................................................................................................................................................... 29
IN2VAULT ......................................................................................................................................... 29

Temenos T24 User Guide

Page 4 of 29

IN2 Routines

OVERVIEW
This section describes the standard 'IN2' sections and their use of the other 'T' table parameters.
Field N refers to the field in the dynamic array stored in the T() parameter. These routines are
almost exclusively used from the field definitions of the applications but can be used elsewhere if
called correctly. When setting the T array the IN2 prefix is not specified i.e.
F(Z) = FIELD.ONE ; N(Z) = 20

; T(Z) = ANY

The above will invoke IN2ANY to validate the input to FIELD.ONE.

Temenos T24 User Guide

Page 5 of 29

IN2 Routines

ALPHANUMERIC
IN2A
Allows alphanumeric input. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE.
IN2AA
Allows alphanumeric input. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE.
IN2AAA
Allows alphanumeric input. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE.
IN2ANY
Allows input of any character. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE.
IN2ATT
Validation as per IN2ANY.
IN2DIR
Used to validate a directory type input. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE and the subroutine will ensure the last character is a \.
IN2MNE
Allows input of any character. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE. Additionally the first character must be upper case, the input must be at
least 4 characters and cannot contain a -.
IN2MNELC
Allows characters 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.-/. String may not
start with / or end with / or contain two consecutive /.
IN2MNEM
Allows characters with a decimal number greater or equal to (space) and less than or equal
to z. Additionally _ is only allowed if the application is PGM.FILE.
IN2S
Allows alphanumeric input. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE.
Temenos T24 User Guide

Page 6 of 29

IN2 Routines

IN2SS
Allows alphanumeric input. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE. The first character cannot be '()+,.0123456789.
IN2SSS
Allows alphanumeric input. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE.
IN2SW
Allows alphanumeric input. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE.
IN2SWI
Allows alphanumeric input The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE. Additionally the first character cannot be /()+,.01234567890.
IN2SX
Allows alphanumeric input. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE. Additionally the first character cannot be -/.
IN2TEXT
Will allow any character input but will trim trailing spaces.
IN2TLX
Allows alphanumeric input. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE. Additionally the first character cannot be -.
IN2VER
Allows alphanumeric input. The character set is defined in ASCII.VALUES and
ASCII.VAL.TABLE.

Temenos T24 User Guide

Page 7 of 29

IN2 Routines

AMOUNTS
IN2 (no suffix)
This routine handles one of three types of editing:

Simple non-zero, numeric input


Input within a specified range
Input matching a value in a specified table

Field 2
Null
nm
T1_T2_T3

Description
Numeric input, must be positive
Numeric input, can be negative or positive
Any input in the range n to m, including decimal numbers.
Any input matching the values T1, T2 or T3. Any number of values may
be specified. The input may be abbreviated to the first character of any or
the values, i.e. Y will be accepted for YES_NO values.

IN2AMT
This routine accepts input of an amount and can edit the input to have the number of decimal
places defined for a specified currency. The currency can be defined directly in the 'T' table
element or implicitly by reference to the value in another field, multi-value or sub-value in
R.NEW. The reference to another field can be dynamically linked with the respective multivalue and/or sub-value of an association of multi-values and/or sub-values.
Input can be abbreviated by using 'T' and 'M' to express thousands and millions. Such input will
be expanded to the normal figure representation. The field will be redisplayed using a mask
inserting commas (or periods) at each thousand. Field 2 of the 'T' table element defines the
editing:
Field 2
<2,1> = null
<2,1> = <2,2> = null
<2,2> = XXX
<2,2> = fieldname

<2,2> = C

Description
Input must be positive
Input can be negative or positive
No currency dependence
Currency dependent input, where XXX is the ISO currency code, i.e.
USD
Currency dependent input, where fieldname refers to the currency field
to be used. Can specify multi-value, fieldname.X or sub-value
fieldname.X.X.
Currency and amount input in same field, i.e. USD2000.00

IN2BMT
Similar to IN2AMT but allows zero.

Temenos T24 User Guide

Page 8 of 29

IN2 Routines

IN2CCYDEC
This routine will accept a currency and an amount. The amount may have any number of
decimals up to the number defined in field 2,2 of the T table. The currency must exist as a valid
currency on the CURRENCY table.
Input can be abbreviated using 'H', 'T', 'M' and 'B' to express Hundreds, Thousands, Millions and
Billions. Such input will be expanded to normal figure representation. If the number of decimal
places is less than that of the currency then COM1 will be formatted to the number of decimal
places for that currency.
The field will be redisplayed with a space after the currency code and the numbers with commas
after each thousand.
Field 2
<2,1> = null
<2,1> = <2,2> = N
<5> = null
<5> = R
<5> = C

Description
Input must be positive
Input can be negative or positive
Input may have up to N decimal places
Input is left justified
Currency is left justified and amount is right justified
Currency is left justified and amount is right justified and zero filled.

IN2DEC
This routine will accept an amount figure with a maximum and minimum number of decimal
places defined in the 'T' table. Input may be abbreviated using 'H', 'T', 'M' and 'B' to express
Hundreds, Thousands, Millions or Billions. Such input will be expanded to normal figure
representation.
The field will be redisplayed using a mask inserting commas at each thousand.
Field 2
<2,1> = null
<2,1> = <2,2> = N
<2,3> = N
<5> = null
<5> = R
<5> = C

Description
Input must be positive
Input can be negative or positive
Input can have a maximum of N decimal places.
Input must have a minimum of N decimal places.
Input is left justified
Input is right justified
Input is right justified and zero filled.

IN2LAMT
As IN2AMT but with additional masking options.
Field
<2,4> = null
<2,4> = E
<2,4> = M
<2,4> = B
Temenos T24 User Guide

Description
Normal formatting
Negative numbers formatted as <1234.56>
Negative numbers formatted as 1234.56Negative numbers formatted as 1234.56db
Page 9 of 29

IN2 Routines

IN2NOMAMT
As per IN2AMT but uses field <2,2> as a SECURITY.MASTER field and checks the amount is
a multiple of the trading units or odd lots. Will allow up to 6 decimals only.
IN2R.AMT
Will call subroutine IN2R if the input is numeric otherwise it will call IN2CCYDEC.

Temenos T24 User Guide

Page 10 of 29

IN2 Routines

DATES
IN2D
Will accept input in any of several valid date formats. The date input will be expanded to the full
date YYYYMMDD and displayed as DD MMM YYYY. Dates with two figure years will be
assumed to be from 1950 to 2049 inclusive unless field 2 of the 'T' table element is set to '1000'
when the date will be treated as prior to 1950.
Input must be in the format DD{MM{YY{YY{}}} or MM{DD{YY{YY}}} depending on the
date format set for the user, or may be in the internal eight numeric format of YYYYMMDD.
If the month or year are not supplied, they will be defaulted to those of the current bank date. The
month may be input as the 3-character abbreviation defined for the language of the user.
All dates will be converted to an internal format of YYYYMMDD (which is returned in COMI).
IN2.ACCD
This routine will edit input, which is a combination of account number and date. See IN2ACC
and IN2D.
IN2.AD
This routine will edit input, which is a combination of alphanumeric characters and date, i.e.
XYZ.20040501
IN2.CCYD
This routine will edit input, which is a combination of currency and date. See IN2CCY and
IN2D.
IN2.D
This routine will edit input, which is a combination of numeric characters and date. See
IN2ACC and IN2.
IN2.YM
This routine is similar to IN2.D except that the date is in YYYYMM format. See IN2ACC and
IN2YM.
IN2COMPFQU
Compounding frequency options. Allows input of specified number of periods prefixed by N, i.e.
N2, or uses IN2FQF to validate the frequency.

Temenos T24 User Guide

Page 11 of 29

IN2 Routines

IN2DXMATDT
Will use IN2YM or IN2D to validate the input, IN2YM will be used if the input is less that 8
characters in length.
IN2DDMM
Validates input of the format DDMM, where DD is a day number and MM the month number.
IN2FQF
Validate input is either BSNSS, DAILY, WEEKn, where n is an interger 1 to 9, TWMTH or
Mmmdd, where mm is a month number 01 to 12 and dd is a day number 01 to 31.
IN2FQO
Validates input is either a valid date or a valid frequency by using IN2D or IN2FQU.
IN2FQU
This routine will accept a frequency consisting of a start date and a period code. The date may
be any valid date as for IN2D. If no date is entered, a date will be generated by advancing from
the current bank date to the next period date.
The frequency code may be one of the following:
Frequency
DAILY
WEEKLY
WEEKN
TWMTH
MMDD

Description
Period of 1 day
Period of 1 week
Period on N weeks
Period ends on the 15th and last day of each month
Period of MM months ending on the DD day. If DD is an invalid day
for the month the period will end on the last valid day.

IN2FQUAZ
As IN2FQF but will allow a valid frequency from the EB.FREQUENCY table.
IN2MATBL
As IN2MATLMM except that calendar days can be specified in the T array.
Field
<6,2> = C

Temenos T24 User Guide

Description
Use Calendar days not working days

Page 12 of 29

IN2 Routines

IN2MATLMM
Calculates a new date based on the application ID that called it and a hard coded start date.
Application Id
FDOR
MD
FD
FR and AF = FRD.START.DATE
FR and AF = FRD.MATURITY.DATE
LD

MM

SL

AZ.ACCOUNT

Others

Start date field


VALUE.DATE
VALUE.DATE
VALUE.DATE
VALUE.DATE
START.DATE
If R.OLD(LD.FIN.MAT.DATE) NE and the
length is less than 3, TODAY
Otherwise, VALUE.DATE
Previously authorised MATURITY.DATE if
set and length > 3 otherwise TODAY,
otherwise if no authorised MATURITY.DATE
then VALUE.DATE unless its a auto roll over
then MATURITY.DATE
If length of ID.NEW > 16 then VALUE.DATE
from SL record otherwise VALUE.DATE
from FACILITY
Extracted from R.OLD field specified in T
<6,1> if R.OLD(AF) set, otherwise from same
field in R.NEW
Extracted from R.OLD field specified in T
<6,1> if R.OLD(AF) set, otherwise from same
field in R.NEW

When calculating the country code, for holidays, this similarly coded.
Application Id
MD FD FR
MM

Field
CURRENCY field, first 2 characters
CURRENCY field, extract country from
CURRENCY record
BUS.DAY.DEFN<1,1>
If length of ID.NEW > 16 then from SL record
field BUS.DAY.DEFN, otherwise same named
field from FACILITY
From field set in <6,2>, 1st 2 characters,
From sub-valued business centres specified in
field <6,3>

LD
SL

Other <6,2> = not null


Other <6,3> = not null

IN2MD
Validate input of a valid day and month.

Temenos T24 User Guide

Page 13 of 29

IN2 Routines

IN2TIME
Will allow input of a valid time, or NONE.
Field
<2,1>

Description
Conversion code to use to convert time, without preceding MT.

IN2YM
This routine handles date in the same way as IN2D except that days are not allowed. The input is
converted into YYYYMM internal format.

Temenos T24 User Guide

Page 14 of 29

IN2 Routines

ACCOUNT NUMBERS
IN2.ALLACCVAL
Will use either IN2PLANT or IN2.MCPLINT to validate entry of a P/L category or an internal
account.
IN2.ANTD
This routine will allow entry of an internal account and a date, i.e. USD100000001-20040505.
IN2.AYM
This routine will allow entry of an account number, a year and month, i.e. 12345-200505.
IN2.MCPLINT
Input must be a P/L category or an internal account with an optional company mnemonic i.e.
PL50000, USD123450001, PL50000\CO2 or USD123450001\CO2.
IN2ACC
Input must be a valid account number, i.e. as defined by the account mask and check-digit
defined on the COMPANY record. Input of an account mnemonic will also be accepted and
converted to the account number.
IN2ALL
This routine will accept input of all types of account numbers. It combines the functions of
IN2ACC, IN2INT and IN2ANT.
IN2ALTKEY
Input of an account number based on an alternate key field as defined in EB.OBJECT.
IN2ANT
Input of an account number as for IN2ACC or of an internal account number will be accepted.
IN2INT
The input must be a valid internal account number (6-12 alphanumeric characters).
IN2MCACC
Input must be a valid account in any company. Will accept an account number or mnemonic, the
account number will be returned.

Temenos T24 User Guide

Page 15 of 29

IN2 Routines

IN2NOSACC
Input must be a valid account, but not an internal account. Will accept an account number or
mnemonic, the account number will be returned.
IN2NOSALL
Input must be a valid account or P/L category. Will accept an account number or mnemonic, the
account number will be returned. Entry of a P/L category must be prefixed by PL.
IN2NOSANT
Input must be a valid account. Will accept an account number or mnemonic, the account number
will be returned.
IN2PLANT
Input must be a valid account as per IN2ANT or a P/L category (50000 to 69999) prefixed by
PL.
IN2SER
Will validate that the input conforms to the serial number format specified by the internal
account against which the input is to be verified.
Field
<2,2> = Internal account
<2,2> = AF.AV.AS

Temenos T24 User Guide

Description
Will check ACCOUNT for this account
Will extract the field from R.NEW according to the fields
specified

Page 16 of 29

IN2 Routines

CATEGORY
IN2CAT
Validates a valid category code input.
IN2PRODCAT
Validates input of a valid category code but will prefix an input of 3 characters or less with the
product category range.
Application
Prefix
FD.FID.ORDER
27
FD.FIDUCIARY, 2 characters
271
FD.FIDUCIARY, 3 characters
27
MG.MORTGAGE
25
LD.LOANS.AND.DEPOSITS or 21
MM.MONEY.MARKET
FOREX
20
Others with <2,1> = not null
<2,1> uses the required number of characters dependent on
the length of the input to make a 5 character entry.
The category range can also be set in fields <2,1> and <2,2>. The category must pass validation
by IN2.

Temenos T24 User Guide

Page 17 of 29

IN2 Routines

CURRENCY
IN2CCY
The input must be a valid ISO currency code. A numeric currency code will also be accepted
and will be converted to the ISO code.

Temenos T24 User Guide

Page 18 of 29

IN2 Routines

CHARGES, COMMISSIONS AND TAX


IN2CHG
Validates charge, commission or tax code. In order to obtain the relevant enrichment, this routine
should be called from within CHECK.FIELD. The enrichment is returned in COMI.ENRI.
Field 2 of the 'T' table defines which of the tables to validate against:
Field 2
CHG
COM
TAX

Description
Validation against FT.CHARGE.TYPE
Validation against FT.COMMISSION.TYPE table
Validation against TAX table

These three values may be used in any combination separated by value marks, e.g. if one wishes
to validate against the CHARGE and TAX tables only then field 2 of the 'T' table would be
'CHG':VM:'TAX'.
IN2TAX
Will allow entry of a valid TAX or TAX.TYPE.CONDITION.
TAX.TYPE.CONDITION the input must be prefixed by a *.

Temenos T24 User Guide

Page 19 of 29

For

IN2 Routines

COMPANY
IN2COM
Input must be in valid company code format.

Temenos T24 User Guide

Page 20 of 29

IN2 Routines

CUSTOMER
IN2BIC
Will allow input of a customer number which is validated by IN2CUS or a BIC code prefixed by
SW- between 11 and 14 characters, i.e. SW-ABCDGB01
IN2CUS
Input must be a valid customer number, i.e. 1 - 10 numeric. Input of a customer mnemonic will
also be accepted and converted to the customer number.
IN2CUST.BIC
Input will be validated depending on the value in field <2,1> and <2,2>. If <2,1> is S or SW then
the routines IN2S and IN2SW will be used respectively. If field <2,2> is CUS or BIC then
IN2CUS and IN2BIC will be used respectively. The IN2CUS and IN2BIC subroutines will only
be used on the 1st multi-value.

Temenos T24 User Guide

Page 21 of 29

IN2 Routines

DEPT ACCOUNT OFFICER

IN2DAO
Validates input against the DEPT.ACCT.OFFICER file.

Temenos T24 User Guide

Page 22 of 29

IN2 Routines

PROGRAMS
IN2API
This IN2 routine allows the input to be:
1.
2.
3.
4.

a Subroutine - if it is defined in PGM.FILE as a S type program,


a Script if it exists in SCRIPT.DESIGNER ,
an Enquiry - if it exists in ENQUIRY
and a Crystal Report - if it exists in REPORT.CONTROL.

Unless it is a Subroutine, input has to be both type and name of the api call i.e. Scripts should
be prefixed with SPT, Crystal reports with RPT and Enquiries with ENQ.
Type and name should be separated by a space.
E.g.: ENQ ENQ.SEL.FIELDS
Note: If the input needs to be restricted to Subroutine names only, then specify T(Z)<2> =
SUB_ONLY
IN2HOOK
Validates input exists on EB.API unless prefixed by ENQ or SPT.
IN2LAUNCH
Validates input is a URL or validates through either IN2PG or IN2PV, is an enquiry prefixed by
ENQ, a tabbed screen prefixed by TAB, a composite screen prefixed by COS, a
HELPTEXT.MENU, a routine validated by IN2API, a browser toolbar prefixed by TBAR or a
report prefixed by VIEW.
IN2PG
This routine validates the program name input. If an abbreviated program name is entered it is
converted to its full program name and checked to ensure it is defined on the PGM.FILE. This
routine does not allow the input of program names set-up as versions, i.e. program names that
contain a ','.
IN2PV
This routine performs the same validation as IN2PG but allows input of program names defined
as versions.

Temenos T24 User Guide

Page 23 of 29

IN2 Routines

RATE
IN2FWDR
Will allow entry of a decimal number prefixed by + or or a rate validated by calling IN2R.
IN2PRICE
Allows input with a maximum of 16 characters with up to 9 decimal places if extended
precision is set, otherwise the maximum is limited to 13 characters with up to 6 decimal
places.
IN2R
This routine will allow input of up to 12 numeric characters but allows a maximum of 8 digits
before the decimal place and a maximum of 6 decimal places. However if the
EXTENDED.PREC is turned on in SPF, this routine will allow input of up to 15 numeric
characters but allows a maximum of 8 digits before the decimal place and a maximum of 9
decimal places.
IN2RR
Validates entry of a positive decimal input. The input can have a / or R as a suffix to indicate that
the enrichment is to be the reciprocal value. The number of decimal places is limited to 9 if
extended precision is set, otherwise 6.

Temenos T24 User Guide

Page 24 of 29

IN2 Routines

SECURITIES
IN2SAM
Will validate entry of a SEC.ACC.MASTER key of the form {customer}-{portfolio suffix}.
Will use IN2CUS to validate the customer element and will concert customer mnemonic to the
customer code. Will use IN2 to validate the portfolio suffix, will use 1 if not specified. This
subroutine does not validate the existence of the portfolio; it only checks that the key is of the
correct format and allows the use of customer mnemonics.
IN2SEC
Will validate entry of a SECURITY.MASTER key. Will convert the alternate index keys or
security mnemonic to the SECURITY.MASTER key. This subroutine does not validate the
existence of the security but ensures that the key is correctly formatted as per the parameter
settings and converts from alternate keys.

Temenos T24 User Guide

Page 25 of 29

IN2 Routines

MISCELLANEOUS
IN2DEF
Will apply a default value before validating with an existing IN2 routine. Default will only be
applied if COMI is null.
Field
<2,1> = T1_T2_T3
<6,3> = null
<6,3> = not null
<6,1>

Description
Will use the first value as the default i.e. T1
Will use value from <6,2> as default
Will use <6> as source for DBR to obtain the default, only multivalues 4 onward will be used.
The IN2 routine name to be used

IN2DESK
Validates input is a report, script, enquiry, API or Menu depending on the input prefix being
RPT, SPT, ENQ or other respectively. The routines IN2RPT, IN2SPT, IN2ENQ, IN2API or
IN2MENU are called to validate each element.
IN2DFMT
Used to validate inputs for dates formats in the derivatives module i.e. +20CD, plus 20 calendar
days. Valid suffixes are MO, TU, WE, TH, FR, SA & SU for the days of the week, M for month,
W for week, BD for business days, CD for calendar days, FBD & LBD for first and last business
days respectively, FCD and LCD for first and last calendar days respectively, MB and MF for
move back and move forward business days respectively and CAL for calendar days.
Multiple date formats can be separated by commas and MF, MB and CAL cannot occur in the
same multiple format string.
IN2DS
Validate date shift codes for the New Treasury module. Valid input must be a Bloomberg
month prefixed by BL, a quarter number prefixed by Q or a SWIFT code such as DAILY,
WEEKLY, EOM, F, WEEKn, where n is a integer or a number prefixed by D, N, W or Y which
in turn can be preceded by a -.
IN2DXCM
Validate a DX contract
DX.CONTRACT.MATER

mnemonic

and

convert

to

the

contract

code

from

mnemonic

and

convert

to

the

exchange

code

from

IN2DXEM
Validate a DX exchange
DX.EXCHANGE.MASTER

Temenos T24 User Guide

Page 26 of 29

IN2 Routines

IN2DXPRI
Will validate a DX price and enrich it with the external price format, can only be used in the DX
module when associated with a DX contract.
Field
<2,1>

Description
Contract code field number

IN2EBFMT
Input must pass IN2A rules, input verified as 2 parts separated by a comma. The validation of the
1st element of the field is specified in the T array.
Field
<10> = E
<10> = C
<10> = P

Description
1st element must be A, AS, C, S, SS, N or NS
1st element must be A, C, F, I, L, M, N, O, R, S, T, U or D
1st element must be A, AS, R, RS, S, SS, NA, NAS, NR or NRS

IN2EFM
Input must be a valid entry in EB.TXN.TRACER, will be converted to the first field from the
record the EB.FREE.MSG id.
IN2ENQ
Input must be a valid ENQUIRY prefixed by ENQ.
IN2FNO
Will validate input matches a T24 field number format, i.e. integer values separated by . i.e. 1,
1.1 or 1.1.1.
IN2GMF
Will validate input is either an integer with less than 15 characters or a key to
GM.FUND.MASTER, the fund mnemonic may be used and will be converted to the key.
IN2HEX
Will validate numeric input optionally prefixed by H- or U- for Hex or Unicode. The Hex or
Unicode numbers will be converted to their decimal equivalents. The numeric element will be
validated by IN2.
IN2LETT
Validates and converts OLD.LC.NUMBER into the id for LETTER.OF.CREDIT. Accepts a
maximum of 16 characters.

Temenos T24 User Guide

Page 27 of 29

IN2 Routines

IN2LINE
Validates RE.STAT.REP.LINE entry, will convert from mnemonic. Accepts between 3 and 34
characters.
IN2MENU
Validates HELPTEXT.MENU entry.
IN2PASSWD
No validation of input, but display of input field will be returned as a string of asterixes.
IN2PRD
Input validated as period input. Allowed periods are defined in field <2> with multiple entries
separated by _. Valid inputs must be a number and a suffix from an allowed input from field
<2> and should be any combination of D, B, M W or Y.
IN2REC
No validation. Returned field will be masked as per field <2> if set, otherwise it will be left
justified.
IN2RELTIME
No validation. Enrichment will be returned showing the local company time relative to the time
in the company where the transaction was input.
IN2RF
Allows entry of a number and a fraction with denominator a power of 2 up to 512. Entry of a
decimal number will be converted to the equivalent fraction if possible.
IN2RPT
Allows entry of a valid REPORT.CONTROL record prefixed by RPT.
IN2SORT.CODE
Will validate entry of a sort code, BC.SORT.CODE, using FT.LOCAL.CLEARING and
FT.BC.PARAMETER. An additional IN2 routine will be called as specified
FT.BC.PARAMETER. If a value from SORT.CODE1 is entered then this will be translated to
the key from BC.SORT.CODE.
IN2SPT
Allows entry of a valid script, SCRIPT.DESIGNER, record prefixed by SPT.

Temenos T24 User Guide

Page 28 of 29

IN2 Routines

IN2STAT
No validation but returns the enrichment for the record status.
IN2T
No validation but will translate input into the users defined language.
IN2VAULT
Will allow input of a valid VAULT Id. The mnemonic may be used and will be converted to the
VAULT Id.

Temenos T24 User Guide

Page 29 of 29

Você também pode gostar