Here is an example of what I am trying to do:
lcSQL = "get_Scheduler_code ( -1, 1002, 'WCH', '02/01/2001', '02/02/2001', 'test - wch - 02/01/01', 'RFS Level' )}"
lcSql = "{? = call " + lcsql + "}"
lnResult = SQLPREPARE(.mnHandle, lcSql)
The SQLPREPARE being used...