Options
Table 2-17. CODE DEFAULT parameter options and definitions
Option
codetype
value
Default
CODE DEFAULT
parameter: points
to note
CODE DEFAULT
parameter
examples
Example 1
Using LCDS Print Description Language
Definition
Can be one the following:
•
ASCII
•
BCD
•
EBCDIC
•
PEBCDIC
•
H2BCD
•
H6BCD
•
IBMBCD
A one byte hexadecimal, octal, or alpha constant. If a value is specified, all
inputs are coded to that value.
Codetype: EBCDIC
•
The DEFAULT parameter must be coded before any
ASSIGN parameter for the assignment exceptions to become
active. A DEFAULT parameter following any defined ASSIGN
parameters causes those ASSIGN parameters to be ignored.
•
Multiple user defined character code translation tables are
allowed, but only one may be without a command identifier.
– The corresponding CODE and LCODE parameters of the
VOLUME command are used to reference each user-
created code table by a command identifier.
– The USER option of the CODE and LCODE parameters
of the VOLUME command references a user defined code
translation table in which no command identifier is coded.
Following are two examples illustrating the use of the CODE
DEFAULT parameter.
Assume that your input data is recorded in EBCDIC. On output,
however, codes 5A, 5B, and 5C (characters !, $, *, respectively),
are assigned to the character blank (X'40'). The command to
modify the EBCDIC base table is as follows:
CODE
DEFAULT=EBCDIC, ASSIGN=(X'5A', X'40'),
ASSIGN=(X'5B', X'40'),
ASSIGN=(X'5C',X'40');
Specifying input parameters
2-21