Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
220 <strong>File</strong> <strong>Management</strong> V4R5<br />
v When you have copied a version of the master table to a data file and you now<br />
want to restore that version.<br />
You should always migrate or copy the Japanese DBCS master sort table<br />
together with the Japanese DBCS font tables.<br />
How to copy the Japanese DBCS master sort table from a data<br />
file<br />
To copy the Japanese DBCS master sort table from a data file, do the following:<br />
1. Enter the CPYIGCSRT command as follows:<br />
a. Choose the value OPTION(*IN).<br />
b. Use the FILE parameter to specify the name of the data file that contains a<br />
migrated System/36 or AS/Entry master file or an AS/400 master table<br />
previously copied to the file using OPTION(*OUT) with the CPYIGCSRT<br />
command. To migrate your System/36 or AS/Entry master file without<br />
using the System/36 Migration Planning book, use the TRANSFER command<br />
with the IFORMAT parameter on the System/36 or AS/Entry to save the<br />
#KAMAST master file on diskette. Use the AS/400 Copy <strong>File</strong> (CPYF)<br />
command to copy the master file #KAMAST from diskette. Use the<br />
CPYIGCSRT command as described here to copy data from the file to the<br />
AS/400 Japanese DBCS master sort table.<br />
c. Use the MBR parameter to specify the name of the data file member from<br />
which you want to copy the master table data.<br />
2. Press the Enter key. Even though the information in the existing Japanese DBCS<br />
master sort table is overridden, that table must exist before you can use this<br />
command.<br />
3. To update the Japanese DBCS active table to reflect the new copied information,<br />
use the SRTXBLD procedure in the System/36 or AS/Entry environment, or the<br />
STRCGU command specifying OPTION(5). This must be done before you can<br />
use the sort utility to sort Japanese double-byte characters.<br />
Deleting a DBCS sort table<br />
Use the DLTIGCSRT command to delete a DBCS sort table from the system.<br />
When to delete a DBCS sort table<br />
Delete an unused DBCS sort table to free disk space, but you should always first<br />
save a copy of the table using the SAVOBJ command. You should delete the DBCS<br />
master sort table for a DBCS language if any of the following are true:<br />
1. You will not be creating any new characters for that language using the<br />
character generator utility.<br />
2. You will not be using the sort utility to sort characters for that language.<br />
You should delete the DBCS active sort table for a DBCS language if you will not<br />
be using the sort utility to sort characters for that language. The DBCS active sort<br />
table must be on the system to use the sort utility for this language.<br />
How to delete a DBCS sort table<br />
When deleting a table, do the following: