Showing posts with label What is the difference between DiscardRow() and StopFetching()?. Show all posts
Showing posts with label What is the difference between DiscardRow() and StopFetching()?. Show all posts

What is the difference between DiscardRow() and StopFetching()?

What is the difference between DiscardRow() and StopFetching()?

A DiscardRow function in RowSelect PeopleCode causes the component processor to skip the current row of data and continue to process other rows.

A StopFetching statement causes the component processor to accept the current row of data and stop reading additional rows.

If  both statements are executed, the program skips the current row of data, then stops reading additional rows.