Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Cancel – PB Docs 150 – PowerBuilder Library

Cancel – PB Docs 150

Cancel PowerScript function

Description

Stops the execution of a pipeline object.

Controls

Pipeline objects

Syntax

Argument

Description

pipelineobject

The name of a pipeline user object that
contains the pipeline object to be executed

Return Values

Integer. Returns 1 if it succeeds and
-1 if an error occurs.

Usage

Call this function only when Start or Repair is
executing.

When you stop a pipeline with Cancel, data
is committed as if the pipeline had reached the maximum errors limit.
You control how the pipeline behaves when it reaches the limit in
the Data Pipeline painter (see the PowerBuilder Users Guide).

Examples

This statement for a CommandButton’s Clicked
script allows the user to stop the execution of the pipeline i_pipe:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x