Академический Документы
Профессиональный Документы
Культура Документы
1 Architecture 2
2 Commands 3
3 Routine Types 4
4 Program 5
5 Enquiry 7
7 Mainline Routine 17
8 Service 19
9 Save List 24
10 BCON 27
11 VOC 37
12 Template 38
14 Version 48
15 EB.API 50
2|Page Hayyan| T24 R14
Architecture
Folders
T24.BP (core Applications)
CORE.BP
ATM.BP
CREDIT.BP
TR.BP
TEST.BP (dev. env. testing folder)
Company
FBNK -> Pakistan
FBHN -> Bahrain
File Types
PGM -> Program file created to entertain Mainline routine, Service, Template.
It is used to convert the logic into executable form.
Naming Conventions
All naming conventions should be in CAPITAL letters
Dot (.) is used to combine names (PK.M.CUS.NIC.EXT)
Variable Declaration
Y.NAME = ‘’ | “” User defined variable starts with Y.
MY.ARY = ’’ | “” Array declaration
FN.CUST File name (Application) for customer start with FN.
F.CUST File location (Application) starts with F. but follow same word as per
defined in FN.
3|Page Hayyan| T24 R14
Commands
Application -> System Table
Template -> User Defined Table
Routine Types
All routines are Application Version dependent.
Abbreviations
VI Version Insert
CU/CUS/CUSTOMER Customer
AC/ACCOUNT Account
ENQ/ENQUIRY Enquiry
BCON Build Control
LT Local Table / Column field
LRT Local Reference Table
EI/ENQUIRY Enquiry Insert
DD DL Define
FT/FUNDS.TRANSFER Funds Transfer
5|Page Hayyan| T24 R14
Program
The program is used to test the routine and code in Black. The program does not require PGM.FILE
to execute.
Sample:
Create a routine with simple functionality (calculator)
Enquiry
The enquiry is the extraction of Data into Browser. There are 2 types Single File & No File.
1. Single File Enquiry
a. Single File Enquiry (Extension using conversion routine)
Add column in enquiry from another application by defining conversion routine for each
column
2. No File Enquiry
Single file enquiry only has one component because it retrieves the data from single Application
which by default resides in an array.
1. Enquiry
2. Enquiry + Conversion Routine (for retrieving a column from other application)
Process-Single File:
EI,<enter>
Name<enter> (PK.E.CUST.TEST)
Page Size -> 1,49
File Name -> Application (CUSTOMER)
Field Name -> @ID
Column.1 -> 1
GB Field Lbl.1 -> Customer ID
F5
Sample:
Task is to create single file enquiry for F.FUNDS.TRANSFER application
8|Page Hayyan| T24 R14
After gathering all info related to create enquiry then go to ENQUIRY on browser mode
To authorize enquiry
10 | P a g e Hayyan| T24 R14
Enquiry – No File
When we need to retrieve data from multiple Applications we use No File Enquiry which contains 3
components.
1. Routine -> Main logic (Query)
2. Standard Selection -> Mapping b/w Routine Array and Enquiry + Searching Criteria
3. Enquiry -> Pointer to Routine
Process-No File:
ROUTINE
STANDARD SELECTION
ENQUIRY
File Name -> Standard Selection, Fixed Selection.1 -> MY.ARRAY as per Routine’s data array
RESULT
1. Go to Enquiry
Result
17 | P a g e Hayyan| T24 R14
Mainline Routine
Mainline routine is for extraction of Data from File to Database or from Database to File. Single
Threaded / Agent.
Steps:
1. Create the file
2. Program the file
3. Compile & Catalog the file
4. Create PGM.FILE in order to execute
5. Run the Program (Main Line Routine)
SAMPLE:
1) Create the file
3) Compile
Catalog
18 | P a g e Hayyan| T24 R14
4) Create PGM.FILE
T24 Service
Service is the routine file which has multiple Agents.
There are 4 routine files and 4 system files which are needed to create a service.
4 Routine Files
I_PK.B.FT.SBP.EXT.COMMON Global variable declaration / db variables
PK.B.FT.SBP.EXT.LOAD Variable Initialization
PK.B.FT.SBP.EXT.SELECT Getting data from File / Application
PK.B.FT.SBP.EXT Main Logic routine file
COMMON:
LOAD:
20 | P a g e Hayyan| T24 R14
SELECT:
MAIN:
21 | P a g e Hayyan| T24 R14
4 System Files
PGM.FILE Type of file ‘B’
BATCH Environment foreground / background, Frequency
TSA.WORKLOAD.PROFILE Number of Agents assigned
TSA.SERVICE Define Service related information
PGM.FILE:
Type = B (batch), M (mainline)
Product = EB
22 | P a g e Hayyan| T24 R14
BATCH:
Batch.Environment = F (foreground), Job.Name = PGM.FILE NAME
Frequency = D (Daily)
TSA.WORKLOAD.PROFILE:
Agents.Required = 1 (1-25)
23 | P a g e Hayyan| T24 R14
TSA.SERVICE:
Run Service
TSM and TSA.Service both should be started in order to run a service.
F5 Commit
25 | P a g e Hayyan| T24 R14
3. Clear Status
4. Start TSM
26 | P a g e Hayyan| T24 R14
5. Start TSA.SERVICE
6. START.TSM –DEBUG
Service Details
27 | P a g e Hayyan| T24 R14
Save List
Contains (Routines [&,/] Data for DL) to create a single list for BCON generation. Routines are logic
and DL is record list data definitions (all items other than routines).
b. Record List (DL) -> Using DL SAVEDLISTS we create DL.DEFINE then DL.DEFINE will be
mentioned/part of in BCON generation not directly DL SAVEDLISTS.
JED &SAVEDLISTS& DL.MANTIS.DATE<enter>
Items include other than routine
(PGM.File/Version/LT/Enquiry/Standard.Selection/File.Control etc.) <enter>
PGM.FILE>Routine name<ESC>
FI
PGM.FILE PGM.FILE>ROUTINE
VERSION VERSION>APPLICATION,VERSION
LT
SS
BATCH
TSA.WORKLOAD.PROFILE
TSA.SERVICE
EB.API
Process-DL.DEFINE:
DD,<enter>
I<enter> (Input)
Name: MANTIS.DATE
Select Lists: Now mention SAVEDLISTS name
F5->Commit
29 | P a g e Hayyan| T24 R14
6. SELECT.LIST (enter DL.MANTIS.YYYYMMDD), (9) PGM.FILE (10) Routine name should populate
The build control is a T24 package which contains all the components (Routines [&,/] DL) ready to
deploy on UAT/Production server. Below are the steps to create BCON.
Generate BCON
(Once generated for further changes add .01+ onwards at the end of BCON filename instead of
delete and regenerate)
I<enter>
Enter name without ‘RTN’ (Mantis ID. Date ex: 20831.20190830)
(if for any reason creating another BCON for same Mantis ID on same day we add .01 .02 etc.
after date)
Enter Package name in 1. & 2.
3. ACTION> ‘S’ (Save, R->Release)
(F3 to navigate next line F2 to previous line)
7. Folder of Routine (mostly CORE.BP)
(for adding multiple folders of routine <shift> + ‘<’ it will create 7.2)
(to remove added folder location ‘-‘<enter>)
8. SL-RTN(Mantis.Date)
80. Y (clear process log)
F5 to commit
2. Create DL.DEFINE
3. Create BCON
F5 to COMMIT BCON
33 | P a g e Hayyan| T24 R14
Verify BCON
(Can be re-verified multiple times)
Process-Verify:
ACTION> V<enter>
ID (JSBL …) <enter>
F5 to commit
F3 <enter> to check records
(if for any reasons routines missing then re-verify the BCON)
34 | P a g e Hayyan| T24 R14
CHECK-IN BCON
(Check-In process could not be reverted)
Process-Check In:
VOC
Shortcut login for ETS environment
JED VOC <VOC_NAME>
TEMPLATE
1. LIVE
2. HISTORY
STEPS:
1. Create Routine by copying of existing template and JED to update fields as per requirement
2. PGM.FILE
3. FILE.CONTROL
4. CREATE.FILES (classifications [FIN, for Financial|CUS, for Customer|INT, for International]
5. STANDARD SELECTION
6. FILE.LAYOUT from jShell (FILE DEFINITIONS)
System Files:
PGM.FILE DL Type: L-Live, H-History
FILE.CONTROL DL Classification: CUS,INT,FIN 8:Y 9:N
CREATE.FILES
STANDARD DL 28 Rebuild: Y
SELECTION
FILE.LAYOUT RTN cp to desired folder
LIVE
Could not be amended. Can be used for logging purpose.
Create Routine by copying of existing template and JED to update fields as per requirement
38 | P a g e Hayyan| T24 R14
PGM.FILE:
FILE.CONTROL:
39 | P a g e Hayyan| T24 R14
CREATE.FILES:
STANDARD SELECTION:
43 | P a g e Hayyan| T24 R14
FILE.LAYOUT:
44 | P a g e Hayyan| T24 R14
HISTORY
Can be amended.
Create Routine by copying of existing template and JED to update fields as per requirement
PGM.FILE
45 | P a g e Hayyan| T24 R14
FILE.CONTROL
Same as ‘LIVE’
CREATE.FILES
Repeat all steps as mentioned in ‘Live’.
On line 3.1 Suffix [press] < to add. To remove [press] -
3.1 SUFFIXES $NAU
3.2 SUFFIXES $HIS
STANDARD SELECTION
Same as in ‘LIVE’.
Using this method enables the data insertion in template from browser.
Id Start -> Starts with (FT162717WHQJ)
RESULT
47 | P a g e Hayyan| T24 R14
VERSION
Version always belongs to some Application or Template
Ex: CUSTOMER,PK.CUST.INFO.TEST
48 | P a g e Hayyan| T24 R14
DL
VERSION>VERSION_NAME
To authorize the deal in Black we require Override field to be added in version as last field.
49 | P a g e Hayyan| T24 R14
EB.API
For all version routines we create EB.API instead of PGM.FILE