IBM Support

Runtime error '6' - Overflow - occurs during playback

Troubleshooting


Problem

This document explains why the Runtime error '6' - Overflow - occurs during playback of an IBM® Rational® Robot GUI script, and what can be done to resolve that error.

Cause

A value has been assigned to a numeric variable that exceeds the range supported by that type of variable. For example, a value of 50000 is being assigned to a variable that is an integer. This can occur when data is read into the script from a file or an input box, or any other means by which a value can be assigned to a variable during runtime.

Resolving The Problem

Dimension the variable using a larger data type. For example, dimension the variable as a Long or a Variant instead of as an Integer.

To see the list of data types and the range for each, consult the SQABasic Reference

  1. Select Help > SQABasic Reference from Robot's menu
  2. Click the Index tab
  3. Type data types
  4. Select the 'table of' subtopic under the data types topic
  5. Click Display



Related Information

[{"Product":{"code":"SSSHDX","label":"Rational Robot"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Scripting","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2001a;2001a.04.00;2002;2002.05.00;2002 Release 2;2002.05.20;2003;2003.06.00;2003.06.12;2003.06.13;2003.06.14","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

159863431

Document Information

More support for:
Rational Robot

Software version:
2001a, 2001a.04.00, 2002, 2002.05.00, 2002 Release 2, 2002.05.20, 2003, 2003.06.00, 2003.06.12, 2003.06.13, 2003.06.14

Operating system(s):
Windows

Document number:
329113

Modified date:
16 June 2018

UID

swg21132584