[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

DCL Symbol Name Character Set?

» close window

The Question is:

 
Special characters
   & ~ ` } { |
seem to be valid as part of DCL symbols. Any gaurantee that they will remain
so?
 
For example:
 
$    a~n=9
$   sh sym a~n
  A~N = 9   Hex = 00000009  Octal = 00000000011
$t
 
 


The Answer is :

 
  DCL symbol names are comprised of strings of from one to 255 characters.
  The permitted character set for DCL symbol names is comprised of
  alphanumerics, underscores, and dollars, with a leading alphabetic,
  underscore, or dollar required.
 
  Symbol names are case-blind, and all alphabetics are treated as uppercase.
 
  DCL symbols containing dollars are reserved to Compaq.
 
  Note that & is a symbol substitution character.
 

answer written or last revised on ( 24-AUG-1999 )

» close window