Symbolic Names and Reserved Words

The valid character set for the RPG IV language consists of:
  • The letters A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
  • RPG IV accepts lowercase letters in symbolic names but translates them to uppercase during compilation
  • The numbers 0 1 2 3 4 5 6 7 8 9
  • The characters + - * , . ' & ⁄ $ # : @ _ > < = ( ) %
  • The blank character
Note: The $, #, and @ may appear as different symbols on some codepages. For more information, see the IBM® i Information Center globalization topic.