6 using openvms edit/tpu command qualifiers, 1 /character_set – Compaq DEC Text Processing Utility AA-PWCBD-TE User Manual
Page 29
Getting Started with DECTPU
2.5 Avoiding Errors Related to Virtual Address Space
DECTPU keeps strings in a different virtual pool than it does other memory.
Once DECTPU starts writing to the work file, the size of the string memory pool
is fixed. DECTPU cannot write strings to the work file, so if it needs to allocate
more space in the string memory pool, it will fail with a fatal internal error.
If you encounter this problem, you can expand the string memory pool during
startup by preallocating several large strings. The following example shows how
to do this:
PROCEDURE preallocate_strings
LOCAL
str_len,
string1,
string2;
str_len := 65535;
string1 := ’a’ * str_len;
string2 := string1;
ENDPROCEDURE;
2.6 Using OpenVMS EDIT/TPU Command Qualifiers
The DCL command EDIT/TPU has qualifiers for setting attributes of DECTPU
or an application layered on DECTPU. The qualifiers fall into the following two
categories:
•
Qualifiers handled by DECTPU
Qualifiers in this category have their defaults set by DECTPU.
•
Qualifiers handled by the application layered on DECTPU
Some qualifiers in this category have their defaults set entirely by DECTPU;
some have their defaults set entirely by the layered application, and some
have their defaults set partly by each.
The following sections present the qualifiers in alphabetical order, giving a
detailed description of each. The examples in the following sections show the
qualifiers directly after the EDIT/TPU command and before the input file
specification. You can place the qualifiers anywhere on the command line after
EDIT/TPU. These sections show the defaults that are set if you use EVE. They
also explain how EVE handles each qualifier that can be processed by a layered
application. Applications not based on EVE may handle qualifiers differently.
2.6.1 /CHARACTER_SET
/CHARACTER_SET=DEC_MCS (default)
The /CHARACTER_SET qualifier determines the character set you want
DECTPU to use to display 8-bit characters. The choice of character set affects
how DECTPU performs the following operations on characters:
•
Converting to lowercase
•
Converting to uppercase
•
Inverting case
•
Removing diacritical marks
•
Converting to uppercase and removing diacritical marks
Getting Started with DECTPU 2–9