The PMS conversion tables are stored as a series of load modules that consist solely of the translate table characters. PMSTRUC is a table of conversion characters that translates lowercase characters to uppercase characters in panel fields that were specified as uppercase-only. PMSTRND and PMSTRNDK are tables of conversion characters that translate special characters in all output fields to support a variety of output devices. PMSTRND translates special characters on devices other than the IBM 5550 terminal. PMSTRNDK only translates special characters on the IBM 5550 terminal.
Each table is a series of 256 hexadecimal characters that correspond to hexadecimal digits X'00' to X'FF'. For PMSTRUC, the characters in the table replace the corresponding characters in a string typed into a terminal or output to a panel field. For PMSTRND and PMSTRNDK, the characters in the table replace the corresponding characters in a string output to any field. The translated character must be supported on the output device.
The translation proceeds from left to right on the field. Each character in the field is used as an offset into this table. The character from the appropriate location in the table is moved into the updated string.
For example, if you enter a lowercase letter a (X'81') into an uppercase-only field and the value of the PMSTRUC table at offset X'81' is X'C1', then the character a is translated to A.
If the value of the table at offset X'81' is X'81', then the character is not translated.
If the value of the table at offset X'81' is a question mark (X'6F'), then on input the character is translated to a question mark. On output, the character is translated to the current non-display character. The non-display character is defined as a PDF parameter.
If PMSTRND has the hexadecimal representation of a backslash character (X'E0') at offset X'E0', then outputting a X'E0' displays a backslash. If PMSTRND has the hexadecimal representation of a question mark (X'6F') at offset X'E0', then outputting X'E0' displays the current non-display character.
To modify the translation of a character, you must zap the appropriate load module using the hex value of the character as an offset. Verify the current value and replace it with the new value.
For example, to modify PMSTRND to translate the character a to the character A:
VER 0081 X'6F' REP 0081 X'C1'
To stop translating the character a:
VER 0081 X'C1' REP 0081 X'81'
To translate the character a to a question mark or non-display character:
VER 0081 X'C1' REP 0081 X'6F'
To modify PMSTRND to turn on the backslash character in output displays:
VER 00E0 X'6F' REP 00E0 X'E0'
To turn off the backslash character in output displays:
VER 007B X'E0' REP 007B X'6F'
PMSTRUC, PMSTRND, and PMSTRNDK are supplied on the CA IPC installation tape.
Note: Translating any of the following control characters has no effect:
|
Control Order |
Hex Character |
|---|---|
|
Start Field |
1D |
|
Set Buffer Address (SBA) |
11 |
|
Insert Cursor (IC) |
13 |
|
Repeat to Address (RA) |
3C |
|
Start Field Extended (SFE) |
29 |
|
Erase Unprotected to Address (EUA) |
12 |
|
Modify Field (MF) |
2C |
|
Set Attribute (SA) |
28 |
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|