30.06.2013 Views

File Management - IBM

File Management - IBM

File Management - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Creating a DBCS conversion dictionary<br />

To create a DBCS conversion dictionary, do the following:<br />

1. Use the Create DBCS Conversion Dictionary (CRTIGCDCT) command.<br />

2. Name the dictionary, QUSRIGCDCT, so it can be used during DBCS<br />

conversion. The system uses the dictionary if it is the first user-created<br />

dictionary found when searching a user’s library list.<br />

You might call the dictionary by another name while it is being created to<br />

prevent application programs from using it for conversion. Later, change the<br />

dictionary name using the Rename Object (RNMOBJ) command.<br />

For example, to create a user DBCS conversion dictionary to be stored in the<br />

library DBCSLIB, enter:<br />

CRTIGCDCT IGCDCT(DBCSLIB/QUSRIGCDCT)<br />

3. Use the EDTIGCDCT command to put entries and related words into the<br />

dictionary after creating it. See “Editing a DBCS conversion dictionary” for<br />

instructions on putting entries in the dictionary.<br />

Editing a DBCS conversion dictionary<br />

Use the Edit DBCS Conversion Dictionary (EDTIGCDCT) command to edit the<br />

DBCS conversion dictionary. Use editing to add user-defined characters to the<br />

dictionary, so that users can enter characters using DBCS conversion, and rearrange<br />

terms in a DBCS conversion dictionary to suit individual needs.<br />

Requirements for a DBCS conversion dictionary: The display station needed for<br />

use while editing the DBCS conversion dictionary depends on the value that you<br />

entered for the ENTRY parameter on the EDTIGCDCT command:<br />

v If you specified a specific string with the ENTRY parameter or if you want to<br />

display double-byte characters, you must use a DBCS display station.<br />

v If you did not specify a specific string with the ENTRY parameter, or if you do<br />

not want to display double-byte characters, use either a DBCS display station, or<br />

a 24-row by 80-column alphanumeric display station.<br />

DBCS conversion dictionary operations: You may perform the following editing<br />

operations on a user-created DBCS conversion dictionary:<br />

v Add entries to the dictionary (including adding the first entries to the dictionary<br />

after it is created). The dictionary can contain as many as 99,999 entries.<br />

v Delete entries from the dictionary.<br />

v Change entries in the dictionary, such as replacing the DBCS words related to an<br />

alphanumeric entry.<br />

v Move the DBCS words related to an alphanumeric entry to rearrange the order<br />

in which they appear during DBCS conversion.<br />

The only editing function that you can perform with QSYSIGCDCT, the<br />

system-supplied dictionary, is to move DBCS words related to an alphanumeric<br />

entry. Move words in order to rearrange the order in which they appear during<br />

DBCS conversion.<br />

Displays used for editing a DBCS conversion dictionary: After you enter the<br />

EDTIGCDCT command, the system presents either the Work With DBCS<br />

Conversion Dictionary display or the Edit Related Words display, depending on<br />

the value entered for the ENTRY parameter on the command.<br />

Appendix B. Double-byte character set support 223

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!