1) DB2 native REST services allow DB2 to expose SQL statements and stored procedures as RESTful APIs. A DB2 stored procedure was created and registered as a REST service.
2) The REST service was then packaged into a SAR file using the z/OS Connect build toolkit. This SAR file was deployed to z/OS Connect.
3) An API was created in z/OS Connect that maps to the REST service. The API was deployed, allowing clients to invoke the underlying DB2 stored procedure via a RESTful call to the z/OS Connect API.