PTrace Reference Manual

PTrace Commands
PTrace Reference Manual526393-001
3-30
STATETABLES Command
Considerations: SETTRANSLATE Command
One number or one character in a string represents one position in the table.
The table is changed from the position specified by offset for as many positions
as there are characters specified in xlate-specs. An error occurs if offset plus
the number of characters specified is greater than 256.
If SETTRANSLATE is specified with no offset and xlate-spec, the table
returns to its default setting. (See Appendix D, ASCII/EBCDIC Codes Translation
Table.)
The RESET and FROM commands return the translation table to its default setting.
The translation table specified in the SETTRANSLATE command has no effect on
the translation table used by the EBCDIC command.
See ASCII-to-EBCDIC Translation on page 2-11 and Record-Formatting
Commands on page 2-8.
It is convenient to use an command file to specify SETTRANSLATE parameters.
Examples: SETTRANSLATE Command
STATETABLES Command
The STATETABLES command specifies the name of the file to be used to display the
state-machine labels.
file-name
is a NonStop Kernel disk-file name. This file must be an existing unstructured file
(file code 0 or 830).
Consideration: STATETABLES Command
The state-machine labels table is no longer accessible after execution of the RESET
and FROM commands. See the FROM command description for information about the
condition when the reset occurs, and for information about the automatic invocation of
the STATETABLES command.
?SETTRANSLATE 4,(%H04,%H05,%H06,&
?%H07,%H08,%H09,%H0A,%H0B)
Changes the fifth through twelfth
positions of the table.
?SETTRANSLATE %HFF Changes the last position of the
table to the default value.
STATETABLES file-name