Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

SPECIAL-NAMES paragraph

Function

The SPECIAL-NAMES paragraph provides a means of

  1. relating system-names to mnemonic-names specified by the user

  2. relating alphabet-names to character sets and/or collating sequences

  3. defining symbolic names for characters

  4. relating class-names to character sets

  5. supplying a character which is to be used as the currency sign in picture-strings

  6. exchanging the functions of the comma and the decimal point in picture-strings and in numeric literals.

Format


SPECIAL-NAMES.

[

[implementor-name

{ IS mnemonic-name-1 [ON STATUS IS condition-name-1
                         [OFF STATUS IS condition-name-2]]

| IS mnemonic-name-2 [OFF STATUS IS condition-name-2
                         [ON STATUS IS condition-name-1]]

| ON STATUS IS condition-name-1
                     [OFF STATUS IS condition-name-2]

| OFF STATUS IS condition-name-2
                     [ON STATUS IS condition-name-1]
}


]...

[[ARGUMENT-NUMBER IS mnemonic-name-3]
 [ARGUMENT-VALUE IS mnemonic-name-4]
 [ENVIRONMENT-NAME IS mnemonic-name-5]
 [ENVIRONMENT-VALUE IS mnemonic-name-6]
]

[ALPHABET alphabet-name-1 IS

{ STANDARD-1
| STANDARD-2
| NATIVE
| EBCDIC
| {literal-1 [ {THROUGH | THRU} literal-2
               {ALSO literal-3}... ]}...
}


]...

[SYMBOLIC CHARACTERS { {symbolic-character-1}... {IS | ARE} {integer-1}... }...
[IN alphabet-name-2]
]...
[CLASS class-name IS { literal-4 [{THROUGH | THRU} literal-5] }... ]...
[CURRENCY SIGN IS literal-6]
[DECIMAL-POINT IS COMMA].

]


Syntax rules

  1. In a class definition, only the CURRENCY SIGN clause may be specified in the SPECIAL-NAMES paragraph.

  2. In an interface definition, only the ALPHABET, CURRENCY SIGN and DECIMAL-POINT clauses may be used in the SPECIAL-NAMES paragraph.

  3. The words THROUGH and THRU are equivalent.

  4. The following rules apply to literal-1 to literal-5:

    1. If the literals are numeric, they must be unsigned integers with a value from 1 to 256.

    2. If the literals are alphanumeric and associated with the THROUGH, THRU or ALSO phrase, each literal must be one character long.

    3. The literals must not specify a symbolic-character figurative constant.

General rule

  1. The individual clauses of the SPECIAL-NAMES paragraph must, if they are used, be specified in the order given in the format.

The individual clauses of the SPECIAL-NAMES paragraph are described below.