Common Error Conditions- Control Flow Construct Keywords

Condition Keyword 


(a) If


Common Error conditions

Scenarios

Error Message

Debug Information

When If Keyword is used without using EndIf

If Without Endif (-9901300)

DESCRIPTION:

An IF keyword is not properly matched to an ENDIF keyword. Every IF keyword must be properly matched with its conjugate ENDIF and vice versa. Also, the ENDIF keyword must appear after the IF keyword.

An IF keyword is not properly matched to an ENDIF keyword. Every IF keyword must be properly matched with its conjugate ENDIF and vice versa. Also, the ENDIF keyword must appear after the IF keyword

When  Data Input Arguments are not provided

Argument Data Missing (-13200)

 

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, the output of a previous step, a global variable, etc; but it must not be left blank.

All the expressions cannot be blank.


(b) Else

Common Error conditions

Scenarios

Error Message

Debug Information

When the Else keyword is used without using the If

Dangling Else (-9901500)

DESCRIPTION:

An ELSE keyword is not properly matched to an IF/ENDIF keyword pair. Every ELSE keyword must be properly surrounded by IF and ENDIF keywords.

An ELSE keyword is not properly matched to an IF/ENDIF keyword pair. Every ELSE keyword must be properly surrounded by IF and ENDIF keywords.


(c) EndIf

Common Error conditions

Scenarios

Error Message

Debug Information

When the EndIf Keyword is used without using the If

Endif Without If (-9901400)

DESCRIPTION:

An ENDIF keyword is not properly matched to an IF keyword. Every ENDIF keyword must be properly matched with its conjugate IF and vice versa. Also, the ENDIF keyword must appear after the IF keyword

An ENDIF keyword is not properly matched to an IF keyword. Every ENDIF keyword must be properly matched with its conjugate IF and vice versa. Also, the ENDIF keyword must appear after the IF keyword


 

3. Iteration Keywords

(a). For Loop


Common Error conditions


Scenarios

Error Message

Debug Information

When for keyword is used without using the Next

For Without Next (-9901100)

DESCRIPTION:

A FOR keyword is not properly matched to a NEXT keyword. Every FOR keyword must be properly matched with its conjugate NEXT and vice versa. Also, the NEXT keyword must appear after the FOR keyword.

A FOR keyword is not properly matched to a NEXT keyword. Every FOR keyword must be properly matched with its conjugate NEXT and vice versa. Also the NEXT keyword must appear after the FOR keyword.

(b). Next Loop

Common Error conditions

Scenarios

Error Message

Debug Information

When the Next keyword is used without using for

Next Without For (-9901200)

 

DESCRIPTION:

A NEXT keyword is not properly matched to a FOR keyword. Every NEXT keyword must be properly matched with its conjugate FOR and vice versa. Also, the NEXT keyword must appear after the FOR keyword.

A NEXT keyword is not properly matched to a FOR keyword. Every NEXT keyword must be properly matched with its conjugate FOR and vice versa. Also, the NEXT keyword must appear after the FOR keyword.


(c) Exit Loop

Common Error conditions

Scenarios

Error Message

Debug Information

When an invalid data input argument is provided.

Levels: -2

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spelling errors and capsizing.

The number of levels cannot be less than 1. Given: -2


































Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article