You cannot pass constants; there must be a variable name to “receive” the return value.
The parameters can be of any SAP ASE datatype except text,
unitext, or image.
The syntax
is:
@parameter = @variable
Note:
If the stored procedure requires several parameters, either pass the return value
parameter last in the execute statement or pass all subsequent
parameters in the form @parameter = value.