PDL principles and procedures
1-10
Using LCDS Print Description Language
EBCDIC
EBCDIC constants are used for
value and string constants. They
must be preceded by the
characters E apostrophe (E’) and
followed by an apostrophe
character (’). The EBCDIC string
type allows hexadecimal
representation of characters to be
embedded in a character string.
This is done by preceding the
hexadecimal representation of the
character with an
!
character.
Each character represented in
EBCDIC results in one byte. Each
three character sequence
representing a character
hexadecimally results in one byte.
NOTE: If no character type is
specified, EBCDIC is the default.
IDEN PREFIX='DJDE';
TABLE CONSTANT='ABCDE';
IDEN PREFIX=E'ABC!C4EFG'
is equivalent to the hexadecimal
IDEN PREFIX=X'C1C2C3C4C5C6C7’
Octal
Octal constants should be used
only as string constants because
of the control program conversion
process. Each octal character
results in three bits.
Each octal character pair is
converted internally to an 8 bit
octal character by prefixing two
binary zeros. Thus, the arithmetic
value of a multiple character octal
constant may be difficult to
determine, because each digit in
the constant has been altered.
An octal constant must be
preceded immediately by the
characters letter O apostrophe (O’)
and immediately followed by the
apostrophe (’) character.
RECORD CONSTANT=O'07070707'
Table 1-2. Types of string constants (Continued)
Constant
Definition
Example
Summary of Contents for Docuprint 75
Page 16: ...Table of contents xvi Using LCDS Print Description Language ...
Page 26: ...Introduction xxvi Using LCDS Print Description Language ...
Page 108: ...PDL principles and procedures 1 82 Using LCDS Print Description Language ...
Page 354: ...Specifying print format parameters 4 114 Using LCDS Print Description Language ...
Page 436: ...Using PDL commands for graphics 6 8 Using LCDS Print Description Language ...
Page 452: ...PDL command and DJDE summary A 16 Using LCDS Print Description Language ...
Page 470: ...Character code assignments C 8 Using LCDS Print Description Language ...
Page 478: ...Offline specifications D 8 Using LCDS Print Description Language ...
Page 506: ...INDEX INDEX 12 Using LCDS Print Description Language ...