0% found this document useful (0 votes)
714 views32 pages

Archiving in T24.R16

This document discusses the archiving process in T24. It explains how to configure the ARCHIVE application and ARC.GENERIC.REQUEST to set up archiving. Records are archived based on criteria like date and then stored in a $ARC file for future reporting while being removed from the main application.

Uploaded by

Daniel Oyama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
714 views32 pages

Archiving in T24.R16

This document discusses the archiving process in T24. It explains how to configure the ARCHIVE application and ARC.GENERIC.REQUEST to set up archiving. Records are archived based on criteria like date and then stored in a $ARC file for future reporting while being removed from the main application.

Uploaded by

Daniel Oyama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
  • Introduction to Archiving in T24
  • Learning Objectives
  • Need for Archiving
  • Setup for Archiving
  • ARCHIVE Application
  • Archival Process
  • ARC.GENERIC.REQUEST
  • Archive Data Calculation
  • Viewing Archived Records
  • Archival Files in T24
  • Archiving and Data Lifecycle Management
  • Data Life Cycle Management - Benefits
  • Conclusion and Summary
  • Quiz
  • Learning Unit Recap

1

Welcome to Archiving in T24 learning unit of the T24 Administration Course.


In this learning unit, you will learn about the archiving process in T24.

2
After completing this learning unit, you will be able to:

1. Analyze the importance of archiving data in T24

2. State the archival process in T24

3. Identify the importance of ARCHIVE application in T24

4. State the advantage of the archival process in T24

3
Lots of transactions could be processed on a normal working day in a bank.
Whenever you input an FT transaction, statement entries are generated. [Link]
is the application that contains details of all entries over customer and internal
accounts. Entries are generated in this file by every on-line and batch process which
involves debiting or crediting Accounts. On a normal working day there could be lot
of entries updated in this application. Over a period of time this may occupy a lot
space in the database and could be a performance hindrance. In order to avoid such
problems data in these files can be archived.

1. Archiving process removes data from the application and moves it to historic data

2. In T24 the archived records are stored in a $ARC file in T24 and it is deleted from
the application

3. The archived records are stored for future reporting purpose

4
Archiving executes as a service and can be setup in two steps:
a) Configure ARCHIVE application
b) Setup [Link]

5
The files to be Archived must have an entry in ARCHIVE application. Create a
record in ARCHIVE, for each set of files which must be Archived.
DESCRIPTION – A general description is specified in this field. Based on what
factor are you going to archive the records? Lets say that you are going to
archive records based on date,

[Link] –In this field you specify a valid T24 date. Records older than
purge date will be archived.

[Link] – If you do not specify purge date you may specify the
date in the [Link] field. Records older than the retention period
will then be archived. Value in this field is specified in the format NNY or NNM
where, NN is either a number of months or years. This field is only used if the
field [Link] is null. For example lets say TODAY is 22nd March 2013.
In [Link] the value specified is 01M , meaning the records
older than 1 February 2013 will be archived.

[Link] – Use [Link] to archive or delete the selected


records. Choose “Y” to archive and “N/None” just to delete.

$[Link] – Specify the pathname of the directory where the $ARC


file will reside. If the directory does not exist, it will be created. If this field is left

6
blank and [Link] is set to 'Y', the $ARC file will be created in archive
directory which will be created under [Link]. Always specify the path name
for the archive files.

6
Can you stop the archiving process after a certain number of records are
processed?
[Link] - When this field is set to Y the archiving process is halted.
This field works in unison with the [Link] field
[Link] – Here you specify the number of records processed
each time before [Link] is checked. This field may be changed
whilst archival is running and will take effect the next time the record is
checked. The default value is 1000 records.
ROUTINE – This field indicates a valid multithreaded routine that will be
responsible for archiving the set of files specified in the ARCHIVE record.
These are application specific routines and should not be changed unless a
site specific program has been written. In this example, the generic
[Link] routine is used for archiving [Link]. But for
FOREX, the routine is [Link]. This record routine is responsible to
decide on the archival logic and to do archiving. Separate [Link],
[Link] routines should be available for opening and selecting
all necessary files for archiving. Howsoever, it is not necessary to create a
separate [Link] service. It is the responsibility of [Link]
service to simply invoke [Link], [Link],
[Link] routines internally for archiving in the presence of ROUTINE
field.

7
7
Field range [Link] to [Link] are related multi-value fields,
which are system populated when archiving is run. They maintain a history of
each time archiving was run.
[Link] – The company for which archival was run. This field is
updated by T24.
[Link]- Time when the archival was started is updated here.
[Link] – T24 updates this field with the user id who initiated the archival
process.
[Link] – [Link] selected for the archival process by the
user is updated here.

[Link] – This field is updated to YES if stop indicator is


requested by the user else it is updated as NO.

[Link] – Total number of records that were deleted from the main
file when archiving is run

[Link] – Total number of records that were processed by the


archival process

[Link] - Maintains a history of any error which caused archiving to terminate.

8
[Link] – End time of the archival process is updated here
Note: There are a few more fields in the ARCHIVE application which would be
discussed later in this course.

8
[Link] – This field can indicate the date field in the contract, which
should be compared with the Purge date for archiving. If this field is left blank,
then the standard [Link] field is used for comparison. For e.g., to archive
the history records of [Link], use [Link] of the
contract.
[Link] – This field will store the number of records to be
processed for archiving.
[Link]
a) To indicate “Y” when generic archival process must be executed. This
allows archival service ([Link] service) to take care of all selection &
purging of records. For example, [Link], TELLER,
[Link], etc are archived using the generic archival process
based on the inputs provided in [Link], [Link] or
[Link].
b) To indicate “No/None” when application specific archival routine specified in
the field ROUTINE must be invoked.
[Link] – Accepts the file name that has to be archived. Example:-
[Link]$HIS.
[Link] – Hook routine to select/ignore a contract for archiving. It is used
as an alternative to [Link].
[Link] – Hook routine that returns the names of related files
that have to be archived along with the main archival record in a dynamic

9
array.

9
Setting Up [Link] - Create a ‘SYSTEM’ record
in [Link] and specify theARCHIVE ID for Archival. Upon verification
of this record, [Link] is started in the background and in turn it reads
the ARCHIVE record. Based on the [Link] set-up or the application
specific ROUTINE, the records are selected for Archival. Ensure that TSM is already
running.

Timing Of The Archiving Process - It is recommended that the Archiving process must
be run after the COB, but before the users are allowed to sign in. However, since
Archiving removes the data that is no longer used, it can be executed even when the
system is Live.

Backups - The system in which Archiving must be run is fully backed up.
Note: Archiving is a one-way process. Data cannot be restored afterwards, except by
fully restoring the database back to the point of pre-archiving.

Post Archiving Actions - Once the Archiving process is complete, the size of all the
files involved (both original and $ARC where applicable) must be reviewed to take the
new number of records in the relevant files into account.

Note: Please ensure DL product is removed from the Company table in the Model
Bank setup to test this process. Because as per the new Data Lifecycle Management

10
the content will be written to RO table and then it will be moved to ARC file and RO
tables are not supported in H2 Database.

10
The application [Link] is used to initiate the actual
archiving process .

[Link] application has only one record with id as


SYSTEM.

[Link] – Here you specify a valid ARCHIVE record id. This is a multi-
value field hence you may archive the other files also.

To initiate the archiving process the record in [Link]


should be verified.

Before you archive the records you can take a count on the number of records.

Use the COUNT command in TAFJ shell to count the number of records.
tAddUser –u model –p Temenos@1
DBTools –u model –p Temenos@1 –s JQL COUNT [Link]

11
• The TSM service status has to be set as start before starting the service in
TAFJ shell.
• On verifying the [Link] the ‘Server Control’ status of
[Link] service will be automatically set to start.

12
• The archival process is initiated as a service in T24. All the services are
defined in [Link] application and for archival process the record
defined in [Link] is BNK/[Link]. The field
[Link] in [Link] will be set to start once you verify
the SYSTEM record in [Link]. The TSM will request
you to manually launch the tSA’s once it is started in the foreground mode.
Execute the following command in TAFJ shell: tRun [Link] –DEBUG

• Launch the agents in a separate TAFJ shell: tRun tSA <port number of
Agent>

• Lets now see how the records are archived. The archival files are created
under the archive directory. Then the processing date of the
[Link]$His records are checked against the [Link] , if the
date of the record is less than the [Link] then the record is copied
to the $ARC file and then it is removed from the main file. Else the record is
retained in the main file.

13
Lets now see how purge date is calculated for archival process. Assume that T24 date
is 22nd March 2016.

1. If [Link] is set to 1 March 2016, then records older than this date is
archived(deleted)

2. Now lets say that instead of specifying the [Link] you have set
[Link] to 01M . What is the value calculated for the purge date?
Purge date value is 1 Feb 2016. When [Link] is specified always the
purge date is calculated to the first day of the month.

14
DBTools –u admin –p Temenos@1 –s JQL COUNT [Link]

DBTools –u admin –p Temenos@1 –s JQL COUNT [Link]$ARC

15
Using enquiries you can view the records stored in $ARC files. You can copy
existing enquiry and change the field [Link] to read $ARC file.

16
Here you see a list of records that are stored in the [Link]$ARC
file.

Note: [Link] is the generic enquiry used to view the


archived records.

17
Temenos provides you a set of files that can be archived. Some of them are
[Link], FOREX, [Link] and [Link].

18
19
RO table setup is not available in H2 DB. So cannot demonstrate the same in the
Model Bank area.

20
21
22
23
1. Archiving process removes data from the application and moves it to
historic data

2. Archived records are stored in the $ARC files

3. Files to be archived need to have an entry in ARCHIVE application

4. [Link] application has only one record with id as


SYSTEM

5. The archival process is initiated once the SYSTEM record is verified in


[Link] application

6. Enquiries can be used to view the records stored in the $ARC files

24
1. Archived records are stored in a $ARC file and it is deleted from the
application – True / False
Answer : True

2. In the archive record it is mandatory to specify the value for fields


[Link] and [Link] – True / False
Answer : False

3. The archival process is executed as a service in T24 – True / False


Answer: True

4. Services for archival need to be started manually by the user – True / False
Answer: False

5. In the ARCHIVE record when [Link] field is set to Y the


archiving process is halted after processing a certain number of records as
specified in [Link] field - True / False
Answer : True

25
In this learning unit, you have learnt about the archiving process in T24. You will be able to,

1. Analyze the importance of archiving data in T24

2. State the archival process in T24

3. Identify the importance of ARCHIVE application in T24

4. State the advantage of the archival process in T24

26
27

You might also like