All parameters are strings, except the six parameter that is a SQL date then I use TTOC(datetime()) and the reference parameter paraoutput2 that also uis a SQL date type , then I used datetime() to set this parameter before to be called.
The parameter paraoutput1 is supposed to return a code if some parameter is wrong or if the transaction is ok, but I'm receibing strange characters and some times I receive a Substring of the lcstring (sql string statement)
"Anyone who has never made a mistake has never tried anything new." A.E
"The important thing is not to stop questioning. Curiosity has its own reason for existing." A.E