To restore compatibility, recompile just the programs that call stored procedures. This resolves runtime error messages and greatly improves the performance of the calls to stored procedures.
For example, if you have a 64-bit HCOSS application that uses SQL compiler directive options DBMAN=ODBC and DBRMLIB, recompile programs that call stored procedures from COBOL or PL/I code.
(CURRENT DATE) - (other_column)
CURRENT_DATE - other_column
column1 - column2
DATE(column1) - DATE(column2)
These rewritten expressions are still valid mainframe SQL, ensuring that portability is not sacrificed.