Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn IB Bloggers
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED] REG:Rows Updated and Rejected
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] REG:Rows Updated and Rejected
 Login/Join
 
Member
posted
Hi..

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,


WF8105,Windows 7
 
Posts: 14 | Location: MI | Registered: September 13, 2017Reply With QuoteReport This Post
Guru
posted Hide Post
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.
 
Posts: 327 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport This Post
Member
posted Hide Post
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,


WF8105,Windows 7
 
Posts: 14 | Location: MI | Registered: September 13, 2017Reply With QuoteReport This Post
Guru
posted Hide Post
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.
 
Posts: 327 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport This Post
Member
posted Hide Post
I am running as a data flow not as a stored procedure.In that case how can i get no of rows updated?


WF8105,Windows 7
 
Posts: 14 | Location: MI | Registered: September 13, 2017Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED] REG:Rows Updated and Rejected

Copyright © 1996-2017 Information Builders, leaders in enterprise business intelligence.