Covers the PARAMETER STYLE SQL contract, scratchpad usage for table functions, and the OPEN/FETCH/CLOSE call-type protocol. - IBM Documentation: DB2 13 for z/OS > Application Programming and SQL Guide > Writing user-defined functions