Documente Academic
Documente Profesional
Documente Cultură
Technical Document
TITLES Page #
ACKNOWLEDGEMENT 3
INTRODUCTION 4
CHAPTER # 1 M-III OVERVIEW 6
Technical Overview 7
Entity Relationship Diagram 9
CHAPTER # 2 M-III SETUPS 10
Account Heads 10
Deal Types 11
Dealer Sub Types 11
Dealers 11
Deal Modes 12
Deal Nature 12
Tenure 12
Security Master 13
Securities 13
Investor’s Port Folio (IPS) 13
Bank 14
JUMBO_IDS 14
CHAPTER # 3 M-III TRANSACTIONS 15
Money Market Deals 15
SBP Deals 19
Liquidity Position 21
Update Weekly DTL Position 23
Inflows and Outflows 24
Short Selling 25
Non-Competitive Bids 27
Change Maturity Date 29
Security and Issue Switching 31
CHAPTER # 4 M-III GENARATING FILES 33
Structure of DBF files 34
Acknowledgement
If you have any comments or suggestions regarding this technical document or looking
for additional help and support, please contact us. Our email address is iddd@sbp.org.pk
or you may contact us on phone 021-244503665.
Introduction
S tate Bank of Pakistan (SBP) is the Central Bank of the country. In working towards
its core purposes, the Bank is organised into three main operational areas - Monetary
Analysis and Statistics, Financial Market Operations and Financial Stability in the
country. To ensure effective implementation of the State Bank’s exchange and monetary
policies and to monitor both inter bank foreign exchange and money market, the
Exchange & Debt Management Department (EDMD) of SBP is introducing a Money
Market Monitoring [M-III] software System. The M-III Bank site system will run at all
Bank Head Offices in Pakistan and will capture the money market transactions for
onward reporting to State Bank.
Audience
Readers of this manual are assumed to have detailed know how of Management
Information Systems and must have expert knowledge of MS Access. They are also
assumed to be familiar with the operating system environment under which they are
running the System.
Purpose
This manual is designed to provide in-depth technical knowledge and technical
specification of the Money Market Monitoring (Bank-Site) System. It will guide
Programmers, System Analysts or Developers while integrating the system with other
softwares.
Scope
This manual covers core technical and development aspects of the system. It does not
contain information about operational details of the system. Topics covered in the manual
include programmatic details of each option of a screen along with core database related
information.
Help Desk
A help desk is organized for implementation and support of M-III. In case of any query
users can coordinate with following officers.
Conventions
This document is formatted based on the following conventions:
Chapter 1
M-III Overview
M -III (M
Money Market Monitoring) System has been developed with the objective to
strengthen EDMD’s off-site function of monitoring the Inter-bank activities undertaken
by various money market participants. Through the use of this software banks would be
primarily required to report various aspects of the deals done by them in the inter-bank
market.
‘Data Capturing’ part of the system (M-III Bank-Site) is based on Microsoft Access
technology. Every Market Participant (dealer) has a copy of the software at its treasury /
reporting office. During the day, Dealers shall enter MM Transaction and required
information into the Data Capturing Software and at the end of the day the “Daily
Transactions” will be reported by utilizing an option in the software to download data to
a floppy for dispatch to EDMD-SBP.
Data Analysis part of the System (SBP-Site software) is Oracle web-based technology
software, and involves analyzing captured data and generating MIS reports.
Users
The intended users of the Money Market Monitory (Bank-Site) System are data entry
operators and administrators. The profiles of these users are described as following:
Operators
These are the users who make regular data entry to the system. Entering Inter-bank deals
and daily liquidity position are typical responsibilities of data entry operators.
Administrators
These users administrate the software. Their typical responsibilities include making
backup, replacing setup files.
Technical Overview
System Requirements
The software runs on MS Access 2000. Prior to installation of M-III Software, it must be
insured that MS Access is installed on the computer. Minimum hardware requirements
are the same as for MS Access; if MS Access 2000 runs reasonably well on your
computer, the system will also give adequate performance.
Installation Procedure
To install the Money Market Monitoring (Bank-Side) system, simply copy all .MDB
and .NDX files provided to you by SBP, into MMCRS folder of drive C in your local
hard disk. It is recommended to make a shortcut of MAIN_MMCRS.MDB file on your
desktop.
Setting Up Bank ID
After installing M-III now user have to set-up information of reporting bank. For this
purpose one record will be inserted in BANK table, comprised of BANKID, BANK,
FULL_NAME and PD columns. PD column will contain ‘Y’ or ‘N’ value which will
determine that reporting bank is Primary Dealer or not. Each Bank (Dealer) will select
BANK ID from the following list of banks.
Backup Procedure
It is advantageous to make a copy of provided software in safer place to avoid any risk or
loss of data. To take a backup, copy the MMCRS folder to a safer storage device. To
copy, select MMCRS folder, press right mouse button, choose copy option from the pop-
up menu and go to the safer system and again press right mouse button and choose paste
option from the pop-up menu.
For sending data to SBP user will send generated DBF files via floppy along with hard
copy of system generated reports.
Figure 1.1
Entity relationship diagram showing entities, attributes, primary keys and foreign keys.
Chapter 2
M-III Setups
M -III contains set-up tables, which contain basic information, which are used in
different transaction screen. There is no interface provided for these set-up screens. It is
highly recommended that information of set-ups should not be modified otherwise
system could not properly communicate with M-III (SBP side) software. There are
following set-ups used in M-III bank side software.
• Account Heads
• Deal Types
• Dealers
• Brokers
• Dealer Sub Types
• Deal Modes
• Deal Nature
• Tenure
• Security Master
• Securities
• IPS
• Bank
• Auction
Account Heads
Account Heads is the basic set-up that contains account information, which is utilized in
INFLOW AND OUTFLOW transaction screen.
Deal Types
Different types of deals are described in this set-up. These deal types are used in DEALS
transaction screen.
Dealers
All scheduled SGL account holders are entered in DEALERS table, counter party in
DEAL transaction screen are picked from dealers set-up screen.
Deal Modes
Different modes of deals are defined in deal modes set-up. It includes Fax, Telephone,
Reuter, and Broker etc.
Deal Nature
Nature of deals is defined in deal nature set up, which includes DISCOUNTING, OMO,
AUCTION and NORMAL.
Tenure
Different tenures of deals and securities are maintained in this set-up. All tenures are fed
in this set-up, which will be referred in different screen like SECURITY, AUCTION, and
SHORT SELLING etc.
Security Master
Basic information of securities involved in M-III are entered in this set-up, this
information is further used in SHORT SELLING and AUCTION screen. Security Master
includes T-BILL, PIB, and FIB etc.
Securities
Bank
It is one of the basic set-ups, which holds information of bank where this system is
installed. Various parameters are used in this set-up to customized menu options.
JUMBO_IDS
For recording jumbo auctions a set-up table is maintained for values ranging from 0 to 3.
While entering short selling information jumbo ids will be used for differentiating jumbo
auctions. ‘0’ J_ID will be used for normal auctions and 1,2 or 3 will identify auctions of
jumbo auctions. While reporting auction to SBP J_ID will be concatenated with auction
for accurate auction id.
Chapter 3
M-III Transaction
M -III transactions are comprised of data entry screens that are used to capture
information from banks and then this information is extracted in to DBF files, which will
be sent to SBP. Following are data entry screens.
Figure 3.1
SBP Deals
This screen includes same information as we have already covered while discussing
MONEY MARKET DEALS. All information captured at this screen is same but the only
difference b/w both screens are,
• SBP DEALS includes those transactions in which SBP involves in money market,
i.e. in case of auction, OMO or discounting.
Figure 3.7
Liquidity Position
Liquidity position captures information of DTL and CRR of dealer, which is helpful in
calculating CRR and DTL positions and its effect on money market liquidity. This
information will be entered and reported on daily basis.
Figure 3.2
Figure 3.3
DTL DATE FROM and DTL DATE TO dates are entered to specify the range of date for
which DTL amount will be updated. In UPDATED DTL AMOUNT field new figure of
DTL is entered to replace previous entry. DLT DATE FROM and DLT DATE TO field
are updated with in the FRDT and TODT column of MMLP table. Technically when user
press update button then DTL Amount and posting date is updated for given period of
date in MMLP table. This is very sensitive option user must be cautious before executing
this process because incorrect date ranges may ruin DTL position.
Figure 3.4
Short Selling
This screen records short selling information of PIB auctions. Only PDs are authorized to
perform data entry. PDs will report daily transaction of short selling. Auction information
will be maintained in AUCTION set-up table and that information will be referenced
over here.
Figure 3.6
• If value of DLTDRID is ‘-1’ i.e. ‘OTHERS’ then NAME will be enabled for input
otherwise field will be disabled.
Non-Competitive Bids
According to rule D-1 of EDMD Circular No. 8 dated July 05, 2003 regarding rules
governing primary dealer system, non-competitive bids are set at 10% of the pre-
announced auction target of PIB in each tenure for investors other than banks, DFIs,
NBFIs etc through Primary Dealers. The facility is intended to accommodate retail and
small institutional investors in Pakistan Investment Bonds. To report non-competitive
bids deals to SBP PDs have to enter day-to-day bids into the system.
Figure 3.7
Currently this information is being sent by FAX after implementation same information
will be reported to SBP just like other transactions of money market.
DLTDRID Text (50) Required DEALERS Value of this column will always be
(DRID) ‘-1’ for identification of others. It
would not be displayed on screen.
NAME Text Name of investor for whom non-
(100) competitive bids are offered by PD.
DDATE Date Required Date of transaction.
PDATE Date Required Date on which transaction is
entered; mostly it would be system
date.
AMOUNT Number Required Amount of Bid offered by investor.
Figure 3.8
• Deals that are performed before entered posting date will be populated in the Deal
ID field for the specified counter dealer.
Change Maturity Date option logs its transaction into PM_DEALS table, which is
reported to SBP. Structure of this table is as follows.
Figure 3.9
After successfully execution of security or issue date switching option, following steps are
performed by system.
1. A contra deal has been added into the deals table having the same contents as the old
deal with following three changes.
a. Posting date of contra deal is the date when this switching has been executed.
b. Contra deal’s ID is same as old deal’s ID but system adds a word ‘SW-‘ before it,
e.g. if the old deal’s ID is 123 then the contra deal’s ID will be SW-123.
c. Lending / Borrowing operation of contra deal will be opposite with compare to old
deal, e.g. if old deal is lending deal then contra deal will be borrowing deal.
2. A new deal has been added into the deals table having the same contents as old deal
with following two changes.
a. Posting date of new fresh deal is the date when this switching has been executed.
b. Deal ID, Security and Issue date of new fresh deal are same as entered on form.
Chapter 4
Print Preview button displays information of Money Market Deals, liquidity position,
inflow and outflows, short selling and non-competitive bids. Hard copy of this report will
be sent along with the floppy for verification.
Figure 4.1
This option is very simple to use, once user complete his daily entries then he can use this
option. Posting Date indicates the date from which transaction is entered. After entering
date when user press PREPARE DISK BUTTON system pick all transactions from
DEALS, MMLP, BANK_IO and SHORTSELLING having same posting date and
generates DBF files.
Base Table Generated DBF Files
DEALS DDEALS.DBF
MMLP DMMLP.DBF
BANK_IO DBNK_IO.DBF
SHORTSELLING DSHTSELL.DBF
NC_BIDS DNC_BIDS.DBF
PM_DEALS DPM_DEAL
DDEALS.DBF
Field Name Data Type Description
DRID Character (50) Dealer ID of dealer.
DLTDRID Character (50) Dealer Id of other dealer in deal
NAME Character (100) Name of dealer in case of ‘-1’ dealer ID.
DEALID Character (50) ID of deal transaction.
PDATE Date Date at which transaction is entered.
DDATE Date Deal date of deal.
VALDATE Date Date from which deal will be effective.
MDATE Date Maturity date of deal.
TENURE Character (50) Tenure of deal.
SECID Character (50) Security Id of deal
LEND_BORRO Character (1) Identifies that transaction is lending or borrowing.
RATE Numeric (19) Rate of deal.
AMOUNT Numeric (19) Amount of deal
BK_AMT Numeric (19) Book amount of deal.
DTYPEID Character (10) Type of deal.
DMODE Character (50) Mode of deal.
BRID Character (50) Broker Id of deal.
DNATURE Character (50) Nature of deal.
IPS Character (1) Identifies that transaction is performed on behalf of
IPS or OWN.
IPS_ID Character (10) ID of investor.
ISSUE_DATE Date Date when security is issued.
DMMLP.DBF
Field Name Data Type Description
DRID Character (50) Dealer ID of Dealer
MMLPDATE Character (50) Date of money market position.
PDATE Date Date when transaction is entered.
DTL Date Amount of DTL.
ACBAL Numeric (19) Current account balance.
TRNSAMT Numeric (19) In transit amount.
MMLPFLAG Character (1) A field must have value of ‘B’.
CASHPAK Numeric (19) Cash in hand in dealer’s balance sheet.
UNENCUMSEC Numeric (19) Amount of unencumbered securities.
FRDT Date Starting date of updated DTL amount.
TODT Date Ending date of updated DTL amount.
DBNK_IO.DBF
Field Name Data Type Description
DRID Character (50) Dealer ID of Dealer
ACID Character (50) ID for head of account
IODATE Date Date of Inflow and Outflow
PDATE Date Date when transaction entered.
IO Character (1) Contains ‘I’ or ‘O’ identifies ‘inflow’ or ‘outflow’
transaction.
DSHTSELL.DBF
Field Name Data Type Description
AUCID Character (50) Auction ID for short selling is conducted.
SECID Character (50) Security ID involve in Short selling.
DRID Character (50) ID of dealer (PD)
ASONDATE Character (1) Date on which transaction is inserted.
DLTDRID Character (50) Dealer ID of other dealer participating in short
selling.
NAME Character (100) Name of dealer in case of ‘-1’ dealer id.
DDATE Date Date of short selling.
PDATE Date Date on which transaction is entered.
SALE_PURCH Character (1) Identifies that transaction is PURCHASE or SALE.
PRICE Numeric (19) Price amount of short selling deal.
AMOUNT Numeric (19) Book amount of short selling deal.
DEALID Character (50) Deal ID of short selling.
DNC_BIDS.DBF
Field Name Data Type Description
AUCID Character (50) Auction ID for short selling is conducted.
DEALID Character (50) It is document number or reference of non-
competitive bids.
DRID Character (50) ID of dealer (PD)
SECID Character (1) Security Id involved in non-competitive bids.
DDATE Character (50) Date of transaction.
PDATE Date Date on which transaction is entered.
DLTDRID Character (1) The value of this column will always be ‘-1’
NAME Numeric (19) Nam of investor for whom bids are submitted.
AMOUNT Numeric (19) Amount of Bid
DPM_DEALS.DBF
Field Name Data Type Description
DRID Character (50) Dealer Id of Dealer
DEALID Character (50) ID of deal modified for maturity date.
PDATE Date Date on which transaction is entered.
OLD_MDATE Date Old maturity date of deal.
NEW_MDATE Date Modified maturity date of specified deal.
OLD_TENURE Character (50) Old tenure of deal.
NEW_TENURE Character (50) Modified tenure for the specified deal, this tenure is
calculated on the basis of maturity date.
REMARKS Character (254) Description of this transaction.