Table 1-2. Types of string constants (Continued)
Constant
Definition
H2 and H6
H2 and H6 constants generate
H2000 BCD and H6000 BCD
codes, respectively. Use of H2 and
H6 is identical to use of E and A
prefixes described in the previous
sections of this table.
Since H2000 and H6000 BCD are
defined as 6-bit codes, no
specification greater than X'3F'
generates a legal character. If
anything from X'40' to X'FF' is
coded, an error message appears
and the bad character is replaced
with a blank.
String constants may be replaced
by an optional repeat count. A
repeat count must be enclosed in
parentheses and must be in the
range of 1 to 255.
Using LCDS Print Description Language
PDL principles and procedures
Example
BLOCK
CONSTANT = H2'373737';
BLOCK
CONSTANT = H6'373737';
Repeat count examples:
T1: TABLE
CONSTANT = (3)'*';
is equivalent to:
T1: TABLE CONSTANT = ('###');
T1: TABLE CONSTANT=(3)O'27';
T2: TABLE CONSTANT=(4)X'C1';
1-11