|
|
To run I7DB8CNV, do the following:
Enter RUN DBUNLOAD.PUB.SYS to unload the database to
tape:
Enter RUN DBUTIL.PUB.SYS,ERASE to erase the database
data.
Enter RUN I7DB8CNV to convert the data and reload it into
the database.
I7DB8CNV will request the following information:
The 7-bit national substitution set where the conversion is to be
made.
The database name.
Whether or not to convert all data fields of type X or U. Enter
YES or Return to convert the data fields. Otherwise,
enter NO and follow the prompts to specify each field of
type U or X.
The single field in an automatic data set is not proposed for
conversion. Whether or not its values are converted depends on the
response to the item(s) it is linked to for detail data set(s). At
the end of each data set, the user is asked to confirm that the
correct fields to be converted from that data set have been selected.
Again, a Return is a YES answer, an N allows
the user to change the data fields in the data set to be
converted.
I7DB8CNV then loads the database from tape. As each record is read,
those fields which were selected have their data converted according to the
algorithm for the 7-bit national substitution set selected at the beginning
of the program.
I7DB8CNV will not allow 8-bit data (bytes with the high-order bit set)
in the data fields it is trying to convert. The utility will not abort, but the
field in question will not be converted, and the following warning will be
issued:
8-bit data encountered in item [itemname in DS data set]
If the program should abort for any reason during the conversion, the user must
log on again to clear the temporary files used during the conversion process
before running the program again.
Following is the dialog from a sample run of the I7DB8CNV utility.
RUN I7DB8CNV.PUB.SYS
HP European 7-bit character sets are:
1. SVENSK/SUOMI
2. DANSK/NORSK
3. FRANCAIS
4. FRANCAIS M
5. DEUTSCH
6. UK
7. ESPANOL
8. ESPANOL M
9. ITALIANO
From which character set should conversion be done: 2
WHICH DATA BASE: QWERTZ
Convert all fields of type U,X in all data sets (Y/N)? N
Data Set SET1 fields to be converted:
ITEM1 (Y/N)? Return
ITEM2 (Y/N)? Return
ITEM3 (Y/N)? N
ITEM4 (Y/N)? Return
Is Data Set SET1 correctly defined (Y/N)? Return
Data Set SET2 - Automatic Master
Data Set SET3 fields to be converted:
ITEM1 (Y/N)? Return
ITEM5 (Y/N)? N
ITEM6 (Y/N)? N
Is Data Set SET3 correctly defined (Y/N)? Return
DATA SET 1: 19 ENTRIES
DATA SET 2: 0 ENTRIES
DATA SET 3: 25 ENTRIES
END OF VOLUME 1, 0 READ ERRORS RECOVERED
DATA BASE LOADED
END OF PROGRAM
:
|