Using EBCDIC characters and double-byte characters
Examples showing the use of EBCDIC characters and double-byte characters
are given in Table 1. For a description
of the DBCS notation used in the examples, see Double-byte character set notation.
| Characters | Usage | Example | Constituting |
|---|---|---|---|
| Alphanumeric | In ordinary symbols | |
Terms |
| In variable symbols | |
||
| Digits | As decimal
self-defining terms |
|
Terms |
Special
Characters |
As operators |
||
+
|
Addition | |
Expressions |
-
|
Subtraction | |
Expressions |
* |
Multiplication | |
Expressions |
/ |
Division | |
Expressions |
+ or -
|
(Unary) | |
Terms¹ |
| As delimiters | |||
| Spaces | Between fields |
|
Statement |
| Comma | Between operands |
|
Operand field |
| Apostrophes | Enclosing character strings |
|
String |
| Attribute operator |
|
Term | |
| Parentheses | Enclosing subfields or subexpressions |
|
Statement expression |
| SO and SI | Enclosing double-byte data | |
Mixed string
Pure DBCS |
| As indicators for | |
||
| Ampersand | Variable symbol |
|
Term |
| Period | Symbol qualifier |
|
Term |
| Sequence symbol |
|
(label) | |
| Comment statement in macro definition |
|
Statement | |
| Concatenation |
|
Term | |
| Bit-length specification |
|
Operand | |
| Decimal point |
|
Operand | |
| Asterisk | Location counter reference |
|
Expression |
| Comment statement |
|
Operand | |
| Equal sign | Literal reference |
|
Operand |
| Keyword |
|
Keyword parameter | |
| Note:
|
|||