MPE/iX System Utilities Reference Manual (32650-90908)

Chapter 10
117
10 I7DB8CNV
I7DB8CNV converts the character data in an IMAGE database from any Hewlett-Packard 7-bit national
substitution set to ROMAN8. The program is a special version of the DBLOAD.PUB.SYS program, and the
conversion is done as part of a database load.
Operation
To run I7DB8CNV, do the following:
1. Enter RUN DBUNLOAD.PUB.SYS to unload the database to tape:
2. Enter RUN DBUTIL.PUB.SYS,ERASE to erase the database data.
3. 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