https://www.as400andsqltricks.com/2024/03/SQLIntegerOrIntScalarfunctioninDB2foriSQL.html