>>Here's a sample, but I don't understand
And neither does anyone else here. That function is specific to the database library you are using, which you failed to identify. You need to read the documentation written by whoever wrote that function.
A more general way of accomplishing it is to use ODBC functions. Put the name of the stored procedure followed by all its parameters into a string and call it just like any other query, if the name of the stored procedure it Hello_World then it might look something like this -- note that string literals are in single quotes and integers are not.
rc is the value returned by CallDBService(), not the result set of the store procedure. Stored procedure result sets can have many columns and many rows of data. The rc value is probably a value that indicates whether the stored procedure was called, ran and completed successfully or not.
You will just have to read the documentation to find out correct syntax and hopefully it has a few examples too. Try to find out if whoever write those functions have a web side and user help group where you can ask questions from their experts.