setErrTxt()  Qualification objects

Chapter 4: Production Objects and Methods

setlterMax()

Description

Sets the number of times an iterative production rule executes. This method is used in AIM development that includes a transaction production file containing the production object that has an iterative rule.

Syntax

setlterMax(int times);

Parameter

Description

times

The integer value of the number of iterations. Must be a positive integer or the method fails.

Return value

Integer.

Returns the number of iterations for success, and -1 for failure.

Examples

Example 38

int no_times;
no_times = 10;
my_rule.setIterMax(no_times);




Copyright © 2005. Sybase Inc. All rights reserved. Qualification objects

View this book as PDF