Names in RPG/400® applications that use SQL

Any valid RPG variable name can be used for a host variable and is subject to the following restrictions.

Do not use host variable names or external entry names that begin with 'SQ', 'SQL', 'RDI', or 'DSN'. These names are reserved for the database manager.