The following C language external procedure definition creates a procedure named xsp_abc that can modify SQL data using the CLIv2 API:
CREATE PROCEDURE xsp_abc(IN param1 INTEGER, OUT result1 INTEGER) LANGUAGE C MODIFIES SQL DATA PARAMETER STYLE SQL EXTERNAL NAME 'SP!CLI!CS!xsp_abc!xsp_abc.c';