Originally posted by: Bragger
Hi,
Thanks for sharing the sample map. The stored procedure is returning the values in the form of output parameters. Do you know how to fetch a result set consisting of multiple rows and columns from Stored Procedure? No matter what I do, I can-not fetch multiple rows from stored procedure (I intend to use cursor in SP).
I also tried to directly return multiple rows in DBQUERY function by making use of functional map but it didn't work. Here is the DBQUERY function that I used. My expectation was that upon each row returned by DBQuery the functional map will be called and then I will map the columns in output card. Do you know what should I do to make it work?
=F_extract(DBQUERY("SELECT NAME, AGE FROM <table name>","-DBTYPE DB2 -SOURCE <database> -USER xxxx -PASSWORD xxx"))
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender