Needed
Dictionary Maintenance
As System 1032 applications
are usually stable after creation, and due to the stability inherent in
System 1032 datasets, a long while can elapse before any possible corruption
might occur in the S1032/AF dictionary datasets. As a rule, the dictionary
datasets are not updated all that often, in contrast to the applications
own datasets.
However, over the course of enough time, or if the dictionary is particularly
active due to new application creation or modifications, the S1032/AF
dictionary can accumulate deleted and unused records.
Major
Housekeeping
As the individual
datasets in the S1032/AF dictionary are standard System 1032 datasets,
you could simply rebuild the individual datasets according to accepted
System 1032 practices. However, when you reach the point such as our customer
did, you may wish to perform what is considered a dictionary flush by
using the S1032_AF_EMP directory, which is a set of empty S1032/AF datasets,
as shown in Figure B.
$ Set Default S1032_AF_EMP $ Dir
Directory $1$DKA300:[S1032.AF.V150.EMP]
ACTIONS.DMS;2 AF_HELP.DMS;2 APPLICATIONS.DMS;2 ATTRIBUTES.DMS;2 CATALOGS.DMS;2 CATREF.DMS;2 DATASETS.DMS;2 FIELDS.DMS;2 FORMS.DMS;2 FRAMES.DMS;2 HELP_TEXT.DMS;2 LINKAGES.DMS;2 MENU_ITEMS.DMS;2 OPTIONS.DMS;2 PROCEDURES.DMS;2
Total of 15 files.
|
|
Setting
Up a New Directory
To start, you copy
all these datasets from the S1032_AF_EMP area to a fresh dictionary directory.
While it is possible to copy the empty dictionary files into the current
dictionary area, you will likely be manipulating files between the old
and new dictionaries. If both are in the same directory, this is not possible.
In the new dictionary
file area, you now have a blank S1032/AF dictionary area to be repopulated
with your active applications.
Note I said active
applications. This is a great time to review the applications you currently
actually use. Over time, it is possible that your S1032/AF dictionary
contains more applications than you are currently using. By archiving outdated
applications, you can spend your effort moving only your currently active
applications to the new dictionary.
Moving
Applications
The details of moving
an application require familiarity with the concepts of S1032/AF applications.
As this article is not intended as a primer on S1032/AF, the steps to
take are here in narrative form only.
S1032/AF provides
the two commands necessary to the process of moving applications from
one dictionary to another: IMPORT and EXPORT. (Note that these are not
System 1032 commands, but both are options on the Utilities menu.)
To move an application,
take the following steps: