Rebuilding An Audited Dictionary; Converting A Dictionary - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

Dictionary Maintenance
To illustrate these procedures, this example rebuilds a dictionary with a schema
generated from a corrupted dictionary.
65> DDL
!?DICT $data.sales
!?DDL $data.newsales.ddlsrc
!OUTPUT *
!?NODDL
!?DICT $data.newsales
!?SOURCE $data.newsales.ddlsrc
!EXIT
In some cases, you cannot generate a source schema from a corrupted dictionary. To
protect your dictionary from such an occurrence, you should keep a fairly current
backup schema of any important dictionary.

Rebuilding an Audited Dictionary

Audited dictionaries rarely need to be rebuilt. The TMF subsystem protects your
dictionary from becoming corrupt by packaging changes into transactions, or units of
recovery. A transaction either modifies the dictionary, or it fails. If a transaction fails, the
TMF subsystem undoes the changes and restores the dictionary to its initial state. You
need to rebuild an audited dictionary only if the TMF system failure occurs.
Assume that a dictionary has been created on the subvolume $DATA.SALES. Type the
following command to determine if the dictionary is audited:
66> FUP INFO $data.sales.*
FUP displays the following information:
$DATA.SALES
DICTALT
DICTCDF
DICTDDF
DICTKDF
DICTMAP
DICTOBL
DICTODF
DICTOTF
DICTOUF
DICTOUK
DICTRDF
DICTTKN
DICTTYP
DICTVER
As shown here, all dictionary files are audited except DICTDDF.
If you have a system failure and must rebuild the audited files, follow the procedures
described in the NonStop™ TM/MP Management Programming Manual.

Converting a Dictionary

As of the D-series software release, DDL supports three versions of dictionaries:
Data Definition Language (DDL) Reference Manual—426798-002
CODE
EOF
LAST MODIF
201A
12288
207A
12288
200
30
206A
12288
209A
12288
204A
36864
202A
16384
203A
12288
208A
16384
208A
16384
205A
12288
209A
12288
209A
12288
209A
12288
OWNER RWEP
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
17:06
8,47
CUCU
10 -21
Rebuilding an Audited Dictionary
TYPE
REC BLOCK
K
38
4096
K
11
4096
KA
94
4096
K
22
4096
KA
194
4096
KA
86
4096
K
145
4096
KA
65
4096
K
98
4096
KA
89
4096
K
6
4096
K
24
4096
K
19
4096

Advertisement

Table of Contents
loading

Table of Contents