Pathmaker Programming Guide
Creating Requesters for Kanji Terminals
Creating Requesters
067868 Tandem Computers Incorporated 5–49
You should help end users identify a data field that can accept only Kanji
characters by providing an appropriate heading or help text for the data field.
You can change the default screen picture for a PIC X data field on the Display
Detail screen to one that mixes PIC N and other picture types.
If you choose to use the Display Detail Screen or Screen Painter to shorten a PIC N
field, you must shorten the field to an even number of spaces.
Set the “Check Data” field on the Requester Definition screen to
Y
to ensure that
PIC N fields receive only all Kanji data.
Use the Screen Painter to paint Kanji decorations on a requester screen.
Use the Screen Painter to change the word “Page” into Kanji.
The Screen Painter does not allow you to segment decorations containing Kanji
and single-byte characters. If you attempt to do so, the error “Data item too long
to fit in a box” is displayed.
If you are developing DB requester applications that will be run on Kanji
terminals, instruct end users to always enter 2 or a multiple of two into the
compare length field when performing a Read Generic, or change the DB requester
skeleton file (REQDBSKL) to perform Read Generic operations using two bytes
instead of one byte as explained in the steps below:
1. Make a backup copy of the REQDBSKL file found on the installation
subvolume.
2. In the original REQDBSKL file, in the paragraph named 6148-GET-
COMPARE-LENGTH, add the line shown below in bold type:
% if #Terminal-Type = “3270” use 1 lines
ACCEPT T9154-COMPARE-KEYIN UNTIL T9154-PF1-KEY.
COMPUTE T9154-COMPARE-LENGTH = T9154-COMPARE-LENGTH * 2.
Running a Kanji
Application
The following points apply to running a Pathmaker Kanji application:
Check that the appropriate translation library is present in the system library on
the production system where the application will be run.
End users can enter Kanji characters or a mixture of Kanji, ASCII, and Katakana
characters into PIC X fields.
End users can enter only Kanji characters into PIC N fields.
The Pathway configuration generated for a Kanji application is only correct if the
Pathway environment on the production system is already set up for Kanji. To
accomplish this, you must add the following line to the PATHTCPS file for the
target application:
SET TCP GUARDIAN-LIB $vol.subvol.PATHTCPK
$vol.subvol. is the location of PATHTCPK, usually $SYSTEM.SYSTEM.