In one of my flows ,i need to store No of rows rejected,accepted,flow end time etc.
So i wrote a sql pass through to insert it into a table.
I have used &&CM_AUTHOR for name.
Is there variables to get no. of rows rejected or accepted.This message has been edited. Last edited by: Chuck Wolff,
When row-at-a-time processing is used (load type insert/update and others) once the load completes the variable &ACCEPTS has the number of rows accepted by the target table. There are several variables for rejected records depending on the reason. In the DMUG see the section "Statistical Variables" for details.
I have a flow1 and in the process flow i added that flow1 and kept a variable after that,
Then i set the variable to &ACCEPTS and then a procedure after the variable to input the variable to a audit table.
Does it work that way?
Another question along with this?
Whats the diff between single & variables and && variables?This message has been edited. Last edited by: srajeevan,
Yes, although when you add a data flow to a process flow you must run the data flow as a stored procedure.
Variables with a single ampersand are local variables, with double ampersands are global variables.
I am running as a data flow not as a stored procedure.In that case how can i get no of rows updated?
|Powered by Social Strata|