Create SQL/PL function and use it in the etl scenario. Use DB2 global variable