Вы находитесь на странице: 1из 6

S Core routine Description

no
1 APP.STATIC.TEXT Returns array of application messages from the static
text translation file. The messages are defined by the
application and their translations (entered by the user)
are read in at run time.
2 AWD Checks whether the given date is working day or not
3 B.UPDATE.BATCH Adds a batch job to an existing batch process. Enables
application programs to initiate ad-hoc jobs in the
overnight run.
4 BATCH.BUILD.LIST Selects the IDs and builds the joblist for processing
5 BD.CALC.DAYS Calculation routine for interest accrual taking into
account the AIBD.
6 CACHE.READ Read Parameter files
7 CALC.ERATE.LOCAL This routine calculates an exchange rate given a
foreign amount and local currency equivalent.
8 CALCULATE.CHARGE Calculates charges, commission and tax amounts and
returns enough information to raise the accounting
entries.
9 CALENDAR.DAY Calculates forward or previous date from a start date
using the frequency
10 CALLJ Call Java program
11 CDD Calculates the difference, in days, between two
supplied dates
12 CDT Calculates forward or previous date from a start date
using the number of days.
13 CFQ Calculates the next date from today's date and a
frequency code.
14 CHECK.ACCOUNT.CLASS This routine will take a given category and sector and
ensure that there is a match on the appropriate account
class.
15 CHECK.ROUTINE.EXIST This routine is used to check if a program is compiled
or not. This is program will work in UV/jBASE.
16 COMMON.RESTORE Program restores the common variables from a named
common area that was saved earlier by
COMMON.SAVE.
17 CUS.AC.EXTRACT This will return a populated CUSTOMER.POSITION
record for
a given account number and company.
18 CUSTOMER.RELATIONS This subroutine will return any customers that are
related.
19 CUSTRATE Perform all the tasks involved in foreign exchange of
two currencies on a buy/sell basis
20 DAS
21 DBR Returns a field from a record for 'checkfile' processing.
22 DIETER.DATE This routine converts dates from the format used
throughout GLOBUS (YYYMMDD) to the standard
UniVerse format (either internal or external. External
dates formatted as per UniVerse CONVERSIONs)
23 DISPLAY.MESSAGE Routine to display a status message for the user.
24 DUP Checks for duplicate occurrences of values in multi and
sub-valued fields at cross-validation.
25 E.GET.LOCAL.AMT Enquiry Subroutine to calculate the local currency
equivalent using MIDDLE.RATE.CONV.CHECK
26 E.GET.STMT.NARRATIVE Subroutine to return a calculated statement entry
narrative for enquiry purposes. The narrative is
calculated according the definitions in TRANSACTION,
STMT.NARR.FORMAT and STMT.NARR.PARAM
27 EB.ACCOUNTING Application interface routine to the accounting system.
Invokes the
routines to validate & post entries, determines the
suspense categories
for value dated transactions (value dated accounting)
and
maintains currency positions.
28 EB.CALC.REPAYMENT When Pricipal amount outstanding on the contract, ccy,
rate and other details are passed as incoming
parameters,
this routine will return caculated repayment amount.
29 EB.CALC.TERM When Pricipal amount outstanding on the contract, ccy,
rate and other details are passed as incoming
parameters,
this routine will return Number of payments due.
30 EB.CALC.YTM.IRR Calculate the yield to maturity or internal rate of return
for a series of cash-flows
31 EB.CLEAR.FILE This routine will clear each partfile is the file is
distributed else a normal clear will be performed.
32 EB.CURR.CONV Program to convert a currency amount to another
currency amount
33 EB.DETERMINE.PAYMENT.DATE This routine will determine the date a payment should
be valued.Based on the day convention and the
business centres,the value date for the schedules are
determined.
34 EB.FORMAT.RATE This routine formats rate values depending upon the
system settings. If extended precision is on, the
maximum no. of decimals allowed is 9 else it is 6. Total
no of digits allowed for a rate value is 11.
35 EB.INTEREST.CALC This routine will return an interest amount based on a
given base amount at a specified rate. It will also return
the rounded amount if the currency code is passed.
36 EB.LOCREF.SETUP This routine will return the local reference data of a
specified application.
37 EB.READ.HISTORY.REC This subroutine will read a record from a specified
HISTORY file Initially this will be used in
EOD.CONSOL.UPDATE, but can be used elsewhere.
38 EB.READLIST Routine to return a list of keys from a select statement.
39 EB.ROUND.AMOUNT Formats amount according to currency definition, by: -
using, by default, two decimal places, OR, - using the
defined number of decimal places for the currency, OR,
- using the lowest unit of currency (e.g. 10, 0.05 etc.)
AND -rounding according to the lowest unit
40 ERR Displays error message on the same line as the input
field or on line 22 if running under a multi-line version.
Can be used only within the confines of a template
program.
41 EXCEPTION.LOG Log all EOD errors so they can be reported at then end
of the EOD processing.
42 EXCHRATE 1) Fixing date error - This field indicates which of the
currencies has a FIXING DATE rate and the current
date does not match the date the rate was last fixed. If
this field is set, then 1 indicates BUY.CCY is in error, 2
that it is the SELL.CCY and 3 that both are. 2)
Suspended market - This indicates that one of the
currencies has had quotes suspended whether it be the
LOCAL, BUY or SELL CCY. If the LOCAL is suspended
this automatically terminates the routine. For BUY and
SELL, the routine is terminated only if the suspension
indicator is not set to 'BLOCKED'. If the routine is
terminated, a relevant message is returned in ETEXT. If
the indicator is set then its value is return in
RETURN.CODE. Note: Suspension is not currently
available as an option in CURRENCY. 3) Tolerance
exceeded - If the DIFFERENCE in terms of the local
currency is greater than the maximum conv.tolerance
for the company, then this is set to 'N' indicating the
rate is out of bounds. If it is set to 'O' then the rate
needs an override and if set to 'Y' then rate is okay.
43 F.DELETE Deletes a record from a file
44 F.LIVE.WRITE writes the current details in the record to history and
updates with new details to the record with the audit
fields
45 F.MATREAD Read a dimensioned array from a file
46 F.MATREADU Read a dimensioned array record from a file with a lock
47 F.MATWRITE Writes a dimensioned array (record) to a file
48 F.READ Read a record from a file
49 F.READ.HISTORY This subroutine will read a record from a specified
HISTORY file
50 F.READU Read a record with a lock
51 F.READV Read a field on a record from a file
52 F.WRITE Writes a record to a file
53 FATAL.ERROR Application fatal abort: displays an error message, exits
from 'EX' and updates the PROTOCOL file. Should be
called for all 'fatal' errors in both on-line mode and
batch.
54 FCY.CONVERT.CHECK Performs the following functions: a) Converts a foreign
amount to a local amount when a foreign amount is
passed but not a local. B) Converts a local amount to a
foreign amount when a local amount is passed but not
a foreign. C)Calculates an exchange rate when both a
foreign and local amount is passed. d) Recalculates
foreign and local amounts and returns the difference. e)
Calculates a percentage exchange rate difference
when a rate is passed.
55 FIELD.NUMBERS.TO.NAMES Converts fields numbers (as defined in the standard
selection record) to field names
56 FIND.CCY.MKT Program to find currency market
57 FT.NULLS.CHK This routine will check for a particular field, if the field
has been expanded with extra multi- or sub-values, and
if there are any null values.
58 GET.ACCOUNT.COMPANY This routine gives the correct lead company mnemonic
for doing the OPF on the account file. This routine is
used in places where the job runs in master company
and the account records of the other book and other
company have the limit that exist in the Master
company attached to them.
59 GET.COMPANY get the Lead company and its mnemonic details
60 GET.LOC.REF when application name, local field name is passed, this
routine will return the local field position by refering to
standard selection table
61 GET.NARRATIVE Subroutine to return calculated statement narrative
using TRANSACTION, STMT.NARR.PARAM and
STMT.NARR.FORMAT applications.
62 GET.NEXT.ID when application informations are passed in common
variables,this routine will return the new @ID.
63 GET.SETTLEMENT.DEFAULTS This routine is used to get the default account and
settlement details for a particular customer and
application. Defaults may be obtained from Portfolio
(SEC.ACC.MASTER), AGENCY,
CUSTOMER.CCY.ACCT or NOSTRO.ACCOUNT files.
64 GET.STANDARD.SELECTION.DETS The routine reads the STANDARD.SELECTION record
and merges the SYS and USR fields together. The
routine contains a dimensioned cache of Standard
Selection records T.SS.REC and dynamic list of
Standard Selection ids T.SS.IDS.
65 GIT
66 IDESC Subroutine to return the value of an I-descriptor.
67 INP Routine to prompt for input and validate. Determine if
we're running GUI and invoke the correct routine.
68 JOURNAL.UPDATE
69 JULDATE Convert from Julian to Gregorian date format and visa
versa
70 LCK Displays record locked message
71 LIMIT.CHECK This subroutine is used by applications both online and
end of day to verify and update the limits system. The
application is required to supply the correct values from
the transaction in order to give the correct update to the
system.
72 LIMIT.CURR.CONV Program to convert a currency amount to another
currency, assuming that the call parameters have
previously been validated. The currency from is
assumed to be the base currency. Xrate is calculated
as to.rate/from.rate by this program. This routine will
cater for conversion to a currency not defined in the
current company.
73 LIMIT.GET.PRODUCT This subroutine is used by applications to validate and
default the Limit Reference used in a given transaction.
It is called as part of the cross-validation processing.
74 LOAD.COMPANY Builds and loads a company profile into I COMMON.
This routine must be called for a change of company.
75 LOCAL.PRINT Subroutine to print data to the local printer. Using a
dumb terminal this is output via the slave printer port.
When using GUI this is sent to the GUI Client which in
turn prints it on the comx/lptx port.
76 MIDDLE.RATE.CONV.CHECK Performs the following functions: A) Converts a foreign
amount to a local amount when a foreign amount is
passed but not a local. B) Converts a local amount to a
foreign amount when a local amount is passed but not
a foreign. C) Calculates an exchange rate when both a
foreign and local amount is passed. d)Recalculates
foreign and local amounts and returns the difference. e)
Calculates a percentage exchange rate difference
when a rate is passed. f)Note: The middle rate is used
for all calculations unless a rate is explicitly passed.
77 MSK Masks input to a specified format
78 OFS.CALL.BULK.MANAGER Routine to call OFS.BULK.MANAGER from an
application
79 OFS.POST.MESSAGE used for performing OFS transactions within
transaction boundary
80 OPF File open routine. Handles company modification of file
name hence, it must be called for all file opens.
81 OVE Prompts for an override and validates Y/N input.
82 PRINTER.CLOSE Spools report as directed by the report control system.
This subroutine must be used in place of the
Data/Basic PRINTER CLOSE statement.
83 PRINTER.OFF Redirects output from the print unit to the screen. This
routine must be used instead of the Data/Basic
PRINTER OFF statement.
84 PRINTER.ON Sets up the printer environment for the report and
directs output to the print unit. This routine must be
used instead of the Data/Basic PRINTER ON
statement.
85 PRO Outputs a message to the protocol file for audit or
exception purposes.
86 PRODUCE.DEAL.SLIP Routine to format & print a deal slip based on the
DEAL.SLIP.FORMAT parameters. The DEAL.SLIP
argument can be a dynamic array of deal slip id's to be
MERGED prior to output. Ie you could define a header
format and then merge in the actual deal slip data. For
output if the terminal supports a local printer then this is
used otherwise it gets sent via report control.
87 PST Opens/closes printer for output and defines headers
88 REBUILD.SCREEN Invokes MATRIX.ALTER to reset screen pointers for
automatically expanded multi-values.
89 REFRESH.FIELD This routine takes the field number, multi value and sub
value specified in
REFRESH.FIELD.NO and forces the redisplay of the
field, and the enrichment.
90 REM Displays a message on line 23 and prompts to
continue.
91 RG.GET.LAST.MATCH Routine to return the last id from a list of ids which
match the first few characters passed in argument
FIRST.PART.ID.
92 RG.GET.LOCAL.TEXT Repgen subroutine will get the description from
REMARK field of a LOCAL.TABLE record. PGM.FILE
entry to be used in REPGEN is
RG.LOCAL.TABLE.TEXT.
93 SC.FORMAT.CCY.AMT This subroutine will receive two parameters and returns
the amount to the calling program formated to the
correct number of decimal places including trailling
zeros.
94 SPOOL.REPORT Spools a report, which has not been created, by the
report control system. This is only intended for use with
COMO files. This routine must be used instead of
executing a spool command.
95 STORE.END.ERROR Routine to store error messages by field, to be
displayed at the end of validation processing.
96 STORE.OVERRIDE Prompts for an override and stores the message in the
main file record if the user replies 'Y'.
97 TRANSACTION.ABORT Subroutine to cancel the current transaction and clear
deferred write caches and releases locks.
98 TXT Translates dynamic messages. The message can
contain a variable portion e.g. RATE 99.9999
EXCEEDS TOLERANCE BY 10%.
99 TXTINP Prompt user and accept user input
100 VALIDATE.SIGN.ON Routine to validate sign on name & password. Handles
all sms checks,protocol logging, expiration of
passwords etc.
101 WORKING.DAY finds out whether the start date and the end date are
non-working dates.
102 OFS.BUILD.RECORD Build OFS string
103 Appends/updates the audit fields. Common variable
S.UPDATE.AUDIT.FIELDS "V" should be assigned with the last field number
104 writes the current details in the record to history and
updates with new details to the record with the audit
EB.HIST.REC.WRITE fields
105 Facilitates the automatic execution of a mainline
process (subroutine or command) at the completion of
EB.SET.NEXT.TASK another process
106 OCOMO Used for updating the comments in COMO record

Вам также может понравиться