Beruflich Dokumente
Kultur Dokumente
jBase
Foundation
JBASE FOUNDATION
AC LD MM … … … Applications
T24
jBase /Oracle/DB2 DBMS
• Temenos T24 works on Unix/Linux/ Windows platform and uses jBase as its runtime
environment.
• It can also use jBase as its database.
JBASE TERMINOLOGY
Account Database
File Table
Record Record
Field Field
Value Value
Multi Value no comparison
Sub Value no comparison
JBC
The jBase Query Language (jQL) provides the facility, which allows
to retrieve data from the database in a structured order and to
present the data in a flexible and easily understood format.
It is used to process data in the database and to generate reports.
They are
• Record selection for processing
• Report formatting
• Sorting
• Data field manipulation capabilities
Enter JQL statements in the jBase prompt to see how each one
works.
LIST
• List
– To list all the records in a file for the given fields.
– Eg. LIST FBNK.CUSTOMER
• List File Fields
– Eg. LIST FBNK.CUSTOMER MNEMONIC SHORT.NAME NAME.1
• Explicit List
– This list will select only those records which are given explicitly.
– Eg. LIST FBNK.CUSTOMER "100161" "100068"
LIST
• Sort
– Sort will sort the record in ascending order. If you want to sort the
records in descending order we have to explicitly mention in the sort
statement. By default it will sort in ascending order.
• Sort File By Field Fields
– SORT FBNK.CUSTOMER BY NAME.1 NAME.1 NAME.2
• This command will sort the record by Name.1 in ascending order. Though
it is not specified in the sort command by default it will take ascending
order.
– SORT FBNK.CUSTOMER BY-DSND NAME.1
• This command will sort the record by Name.1 in descending order.
– SORT FBNK.CUSTOMER BY @ID BY NAME.1
• This command will sort the record by id and name in ascending order.
SORT
BREAK-ON
• SORT FBNK.CUSTOMER BY NAME.1 BREAK-ON NAME.1
– This command will insert a break each time the value in the Break-On
field changes.
– (I.e) when the Name.1 changes there will be some spaces between
records.
COUNT
• COUNT
– COUNT FBNK.ACCOUNT
– Count is used to count the total number of records in a file.
• SUPPRESS : DET-SUPP Details suppress
– SORT FBNK.ACCOUNT BY CUSTOMER BREAK-ON "'P'" CUSTOMER
TOTAL WORKING.BALANCE DET-SUPP
– The command will list the total working balance for each customer
without the account detail. Only the grand total of each customer will
be listed. If DET-SUPP is not given then the command will list all the
account and working balance for each customer along with the grand
total of each Customer.
COUNT
• SUPPRESS : ID-SUPP
– Suppress the record ID from being displayed as the first field in any
report.
– SORT FBNK.ACCOUNT BY CUSTOMER BREAK-ON "'P'" CUSTOMER @ID
WORKING.BALANCE ID-SUPP
– By default the id of each record will be displayed even if the id column
is not given. To suppress that id column we have to give Id-Supp.
ESEARCH
ESEARCH
This command will search for the string OFS in Temenos T24 (.BP).
ESEARCH Temenos T24 (.BP)
STRING:RADAR
STRING:
4 record(s) selected to SELECT list #0.
CT
• LISTF
– LISTF command displays all list of all files
• LISTU
– The LISTU utility can be used to display information on processes
executing jBase programs.
OFF
• The OFF command will close down all current jBase programs.
TOOLS
JSHOW
Syntax:
• jed pathname {pathname..}
• jed {DICT} filename{,filesection} {record-list} {(options)}
– DICT - This modifier is only required if you wish to edit records in the
DICTionary of a j-file.
– filename - This is the name of the "file" containing the records.
– filesection - This is the file section name, as used in a j-file.
– record-list - It is possible to furnish a list of records to be successively
edited. This can be a list of records separated by a space, or "\*" to
indicate all records in the file.
jED Editor screen
3. The data editing area, which fills the rest of the screen.
jED COMMANDS
Ctrl G Mark Block, 1st Start Blk, 2nd End Blk, 3rd Remove Mark
CBn Copy Marked block before current line, n times
CAn Copy Marked block after current line. n times
/string or L Locate the next occurrence of "string"
MB Move Marked block before current line
MA Move Marked block after current line
BI Format BASIC code
BION Turn on Format indentation
! Cmd Execute Command
!! Re-execute last ! Cmd
HX or HEX Toggle the display of the record in Hexadecimal
jED COMMANDS