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
Содержание Docuprint 75
Страница 16: ...Table of contents xvi Using LCDS Print Description Language ...
Страница 26: ...Introduction xxvi Using LCDS Print Description Language ...
Страница 108: ...PDL principles and procedures 1 82 Using LCDS Print Description Language ...
Страница 151: ...Specifying input parameters Using LCDS Print Description Language 2 43 Figure 2 3 Record format types ...
Страница 227: ...Using logical processing Using LCDS Print Description Language 3 47 Figure 3 6 Effects of RPAGE SIDE parameter ...
Страница 228: ...Using logical processing 3 48 Using LCDS Print Description Language Figure 3 7 Effects of RPAGE WHEN parameter ...
Страница 354: ...Specifying print format parameters 4 114 Using LCDS Print Description Language ...
Страница 436: ...Using PDL commands for graphics 6 8 Using LCDS Print Description Language ...
Страница 452: ...PDL command and DJDE summary A 16 Using LCDS Print Description Language ...
Страница 470: ...Character code assignments C 8 Using LCDS Print Description Language ...
Страница 476: ...Offline specifications D 6 Using LCDS Print Description Language Figure D 2 LPS tape format diagram ...
Страница 478: ...Offline specifications D 8 Using LCDS Print Description Language ...
Страница 506: ...INDEX INDEX 12 Using LCDS Print Description Language ...