I'm using Regina 3.4, Rexx/SQL 2.5, Oracle 10gR2 on Linux. The return code from an external program is inflated by a factor of 256.
Similar behavior on AIX 5.3 with the same Regina, Rexx/SQL and Oracle releases.
With rexxsql it happens anywhere in the script.
For regina it happens after the SQLConnect executes.