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

Embed Size (px)

Citation preview

Page 1: In2 Routines

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.

Page 2: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 2 of 29

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 

Page 3: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 3 of 29

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 

Page 4: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 4 of 29

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 

Page 5: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 5 of 29

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.

Page 6: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 6 of 29

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.

Page 7: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 7 of 29

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.

Page 8: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 8 of 29

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 Description Null Numeric input, must be positive - Numeric input, can be negative or positive n…m Any input in the range n to m, including decimal numbers. T1_T2_T3 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 multi-value 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 Description <2,1> = null Input must be positive <2,1> = - Input can be negative or positive <2,2> = null No currency dependence <2,2> = XXX Currency dependent input, where XXX is the ISO currency code, i.e.

USD <2,2> = fieldname 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.

<2,2> = C Currency and amount input in same field, i.e. USD2000.00 IN2BMT

Similar to IN2AMT but allows zero.

Page 9: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 9 of 29

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 Description <2,1> = null Input must be positive <2,1> = - Input can be negative or positive <2,2> = N Input may have up to N decimal places <5> = null Input is left justified <5> = R Currency is left justified and amount is right justified <5> = C 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 Description <2,1> = null Input must be positive <2,1> = - Input can be negative or positive <2,2> = N Input can have a maximum of N decimal places. <2,3> = N Input must have a minimum of N decimal places. <5> = null Input is left justified <5> = R Input is right justified <5> = C Input is right justified and zero filled. IN2LAMT

As IN2AMT but with additional masking options. Field Description <2,4> = null Normal formatting <2,4> = E Negative numbers formatted as <1234.56> <2,4> = M Negative numbers formatted as 1234.56- <2,4> = B Negative numbers formatted as 1234.56db

Page 10: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 10 of 29

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.

Page 11: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 11 of 29

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.

Page 12: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 12 of 29

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 Description DAILY Period of 1 day WEEKLY Period of 1 week WEEKN Period on N weeks TWMTH Period ends on the 15th and last day of each month MMDD 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 Description <6,2> = C Use Calendar days not working days

Page 13: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 13 of 29

IN2MATLMM

Calculates a new date based on the application ID that called it and a hard coded start date. Application Id Start date field FDOR… VALUE.DATE MD… VALUE.DATE FD… VALUE.DATE FR… and AF = FRD.START.DATE VALUE.DATE FR… and AF = FRD.MATURITY.DATE START.DATE LD… If R.OLD(LD.FIN.MAT.DATE) NE ‘’ and the

length is less than 3, TODAY Otherwise, VALUE.DATE

MM… Previously authorised MATURITY.DATE if set and length > 3 otherwise TODAY, otherwise if no authorised MATURITY.DATE then VALUE.DATE unless it’s a auto roll over then MATURITY.DATE

SL… If length of ID.NEW > 16 then VALUE.DATE from SL record otherwise VALUE.DATE from FACILITY

AZ.ACCOUNT Extracted from R.OLD field specified in T <6,1> if R.OLD(AF) set, otherwise from same field in R.NEW

Others 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 Field MD… FD… FR… CURRENCY field, first 2 characters MM… CURRENCY field, extract country from

CURRENCY record LD… BUS.DAY.DEFN<1,1> SL… If length of ID.NEW > 16 then from SL record

field BUS.DAY.DEFN, otherwise same named field from FACILITY

Other <6,2> = not null From field set in <6,2>, 1st 2 characters, Other <6,3> = not null From sub-valued business centres specified in

field <6,3> IN2MD

Validate input of a valid day and month.

Page 14: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 14 of 29

IN2TIME

Will allow input of a valid time, or NONE. Field Description <2,1> 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.

Page 15: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 15 of 29

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.

Page 16: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 16 of 29

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 Description <2,2> = Internal account Will check ACCOUNT for this account <2,2> = AF.AV.AS Will extract the field from R.NEW according to the fields

specified

Page 17: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 17 of 29

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 MM.MONEY.MARKET

21

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.

Page 18: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 18 of 29

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.

Page 19: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 19 of 29

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 Description CHG Validation against FT.CHARGE.TYPE COM Validation against FT.COMMISSION.TYPE table TAX 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. For a TAX.TYPE.CONDITION the input must be prefixed by a *.

Page 20: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 20 of 29

COMPANY

IN2COM

Input must be in valid company code format.

Page 21: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 21 of 29

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.

Page 22: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 22 of 29

DEPT ACCOUNT OFFICER

IN2DAO

Validates input against the DEPT.ACCT.OFFICER file.

Page 23: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 23 of 29

PROGRAMS

IN2API

This IN2 routine allows the input to be: 1. a Subroutine - if it is defined in PGM.FILE as a S type program, 2. a Script – if it exists in SCRIPT.DESIGNER , 3. an Enquiry - if it exists in ENQUIRY 4. 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.

Page 24: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 24 of 29

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.

Page 25: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 25 of 29

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.

Page 26: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 26 of 29

MISCELLANEOUS

IN2DEF

Will apply a default value before validating with an existing IN2 routine. Default will only be applied if COMI is null. Field Description <2,1> = T1_T2_T3 Will use the first value as the default i.e. T1 <6,3> = null Will use value from <6,2> as default <6,3> = not null Will use <6> as source for DBR to obtain the default, only multi-

values 4 onward will be used. <6,1> 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 mnemonic and convert to the contract code from DX.CONTRACT.MATER IN2DXEM

Validate a DX exchange mnemonic and convert to the exchange code from DX.EXCHANGE.MASTER

Page 27: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 27 of 29

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 Description <2,1> 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 Description <10> = E 1st element must be A, AS, C, S, SS, N or NS <10> = C 1st element must be A, C, F, I, L, M, N, O, R, S, T, U or D <10> = P 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.

Page 28: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 28 of 29

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.

Page 29: In2 Routines

IN2 Routines

Temenos T24 User Guide Page 29 of 29

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.