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

DATA LIBRARY

After this presentation


 You will be able to
 understand and
 handle the Data library module of
T24
 To facilitate the copying of Data
Library between different accounts
of T24

2
Data Library -
Contd.
Saving the Units
Data is stored in the Data Library
in logical units. Each unit is
defined on the data library
definition file, DL.DEFINE, by
listing all programs and data
items which make up that unit.
Programs and data can be saved
to the data library or restored
from the data library into the T24
unauthorized files by using
3
the
Data Library -
Contd.
Restoring the Units
 Units are copied from one Data
Library to another using the
“V”erify mode in
DL.PARAMETER, with the
operation set to “R”estore, the
corresponding definition records
will be updated on the Data
Library definition file,
DL.DEFINE. If there is a unit you
wish to restore, run DL.DEFINE
4
Data Library - Contd.
 Tables used

 DL.DEFINE
 DL.PARAMETER

5
Contd.
DL.DEFINE -
Fields
 DESCRIPTION Description of
the purpose of the unit and what it
contains

 SHORT.DESC Short description of


the unit

 OPERATION “S” to save / “R” to


restore

6
Data Library -
Contd.
DL.DEFINE - Fields
 SELECT.LIST If you have entered all the
programs/data items into a select list,
enter the name of the select list. This
select list will then be used to populate the
fields FILE.NAME and RECORD.NAME.
Records should be entered in the select
list as file_name>record_name, e.g.
ENQUIRY>ENQ.POS1

 TOP.LEVEL.TYPE For some data items,


you can enter the TOP.LEVEL.TYPE and
TOP.LEVEL.ITEM. All associated data
records and programs will be used to
populate the fields 7
FILE.NAME and
Data Library -
Contd.
 DL.DEFINE
TOP.LEVEL.ITEM The -name
Fieldsof a
record on a top level file. This will be
used to populate the fields FILE.NAME
and RECORD.NAME (For DELIVERY
the record is taken from
DE.MESSAGE)

 FILE.NAME The names of files


containing records to be saved (e.g.
ENQUIRY)

 RECORD.NAME The names of


records to be saved (e.g. ENQ.POS1)
8
Data Library -
Contd.

DL.PARAMETER - Fields
OPERATION “R” to restore the data
library/units

 FROM.FILE The UNIX pathname of the


data library from which units are to be
restored (e.g./jsbloc/F.DL.DATA)

 OVERWRITING Specifies whether


existing units are to overwritten if they
are being copied from the from data
library
 “Y” - overwrite units
 “N” - do not overwrite units
9
 “L” - only overwrite units if the unit on the from
Data Library -
Contd.
DL.PARAMETER - Fields
 RESTORE.UNITS The names of the
units to be restored. Leave this field
blank to restore the whole data library

10
Data Library - Contd.
Work Flow (Saving….)

CREATE A DATA LIBRARY

PREPARE A DL.DEFINE RECORD


INPUT INPUT THE VERIFY
SET THE THE
DESCRIPTION, OPERATIO FILE.NAME
SHORT and RECORD RECORD
N TO S
DESCRIPT, to be saved

SAVE THE UNIT

11
Data Library - Contd.
Work Flow (Restoring….)
SAVE THE UNIT UNDER
F.DL.DATA DIRECTORY (SUB DIR
- DL.RESTORE)
PREPARE DL.PARAMETER (SYSTEM -
RECORD)
FEED FROM.FILE,
SET THE OVERWRITING VERIFY
OPERATIO AND THE
RESTORE.UNITS RECORD
N TO ‘R’
(ACCORDING TO
REQUIREMENT)

RELEVANT DL.DEFINE RECORD GETS


POPULATED AUTOMATICALLY

VERIFY THE
RECORD
AUTHORISE THE REQUIRED RECORDS
FROM EXCEPTION LIST 12
Data Library -
Contd.
OBJECTIVE Demonstration I
 Copy the enquiry ENQ.DEMO1 from test area to
live area
STEPS:
SOURCE AREA
1 Prepare Data Library
 Sign on into T24
 Input a DL.DEFINE record
 DL.DEFINE, I DLDEMO1
 Note the change in the ID
 Fill - in Description / Short Description / Language
 Set the operation to ‘S’
 Input FILE.NAME of all the Data to be saved
 Input RECORD.NAME of all the Data to be saved
2 Verify the Data Library
 DL.DEFINE V DL.DEMO1
13
TARGET AREA

3 Copy the Units


Create a subdirectory under F.DL.DATA called
DL.RESTORE
Copy DL unit from the Source Area to the Target
Area
4 Prepare Data Library Parameter
Sign on into T24
Input a DL.PARAMETER record
• DL.PARAMETER I SYSTEM
• Set the OPERATION to ‘R’
• Feed the FROM.FILE with
../F.DL.DATA/DL.RESTORE
• Input the RESTORE.UNITS to DLDEMO1
1 Verify the Data Library Parameter
DL.PARAMETER V SYSTEM
1 Verify the Data Library Definition table
DL.DEFINE V DLDEMOI
• Authorize the Exceptions…
ENQUIRY E 14
Data Library -
Contd.
Demonstration II
OBJECTIVE
 As a part of implementation exercise you are
required to transport all the NOFILE enquiries
and versions screens designed for
FUNDS.TRANSFER from the test / development
area to live area…
STEPS
1 Prepare Data Library
Sign on into T24
Input a DL.DEFINE record
DL.DEFINE, I ENQVER
Fill - in Description / Short Description
Set the operation to ‘S’
15
Input all the records to be migrated (details will be
2 Verify the Data Library
DL.DEFINE V ENQVER

3 Go to the target area and copy the unit


Copy the DL unit from the Source area to
../F.DL.DATA/DL.RESTORE of the Target area

4 Prepare Data Library Parameter


Sign on into T24
Input a DL.PARAMETER record
DL.PARAMETER, I SYSTEM
Set the OPERATION to ‘R’
Feed the FROM.FILE with ../F.DL.DATA/DL.RESTORE
Input the RESTORE.UNITS to ENQVER

5 Verify the Data Library Parameter


DL.PARAMETER V SYSTEM

16
6 Verify the Data Library Definition table
DL.DEFINE V ENQVER

7 Copy the programs from DL.BP to its


original directory and Compile them
COPY FROM DL.BP TO TEST.BP [Program Name]
EB.COMPILE TEST.BP [Program Name]

8 Authorize the Exceptions...


ENQUIRY E
STANDARD.SELECTION E
VERSION E

17

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