Following on from Mike Henderson's post...

Maybe the best idea is to use GETXMLSUB itself as your subroutine call.
It handles the case where the XMLExecute function returns a fail status,
but a subsequent XMLGetError function doesn't have an error code by
assigning a new error code of 80120 and an errmsg of "query/sql syntax
error".

It has 6 arguments documented in the code as follows -

        006: * argument count 6
        007: *
        008: * input 1 CMD the LIST/SELECT command used to generate xml
doc
        009: * input 2 options: any dynamic array like string to store
options for the TOXML
        010: * command
        011: * output 3 XMLSTR, result xml document
        012: * output 4 XSDSTR, result xsd schema
        013: * output 5 RTNCODE.
        014: * output errmsg if RTNCODE <> 0

Regards, Keith
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to