Macro: SQL$SetNextArgument

Module location: sql.pkg line 1996 (view source)

***************************************************************************** *** Command: SQLCall *** *** Purpose: Call a stored procedure. *** *** *** *** Syntax : SQLCall hstmt ProcedureName SchemaName [Arg1 ...] [To Var] *** *** You can pass "" for SchemaName. *** *****************************************************************************

    #IFSAME !2 TO
        //*** We do not need to set a return value before calling the procedure
        //*** afert all, return values are filled after it is called. Simply
        //*** stop when a TO is found.
    #ELSE
        If (!1) Send SQLSetNextArgument To !1 !2
        #IF (!0>2)
            SQL$SetNextArgument !1 !3 !4 !5 !6 !7 !8 !9
        #ENDIF
    #ENDIF