The type of name you specify in control language (CL) determines the characters you can use to specify a name.
For certain types of names, there are restrictions on the use of certain characters to represent the name. Those types of names are *NAME, *SNAME, and *CNAME.
The characters allowed for the *NAME, *SNAME, and *CNAME names and the rules you use to specify them are shown in the following table.
| Type of name | First character | Other characters | Min. length | Max. length |
|---|---|---|---|---|
| *NAME 1 | A-Z, $, #, @ |
A-Z, 0-9, $, #, @, _, . |
1 | 256 |
| *SNAME 1 | A-Z, $, #, @ |
A-Z, 0-9, $, #, @, _ |
1 | 256 |
| *CNAME 1 | A-Z, $, #, @ |
A-Z, 0-9, $, #, @ |
||
| Quoted name 2 | "3 |
Any except blank, *, ?, ', ", X'00'-X'3F', and X'FF' | 3 | 256 |
Notes:
|
||||