Value too large to be stored in data type

Value too large to be stored in data type

Post by Anthony Johnso » Wed, 22 Nov 2000 04:00:00

Actually, "mycommand" only reads some information off a tape and displays it on
stdout. The "mycommand2" just 'grep's out a specific line. The information is
not numeric and there are no math functions being performed, nor is the data
being stored in any internal variables. "mycommand" is a C program and the error
message doesnt appear in my source anywhere so I figured it must be coming from
TCL or TK somewhere.

> :I'm running a command "catch {mycommand | mycommand2} result" and
> :it is returning "Value too large to be stored in data type". This
> :message is not
> :in the source code for my command. Has anyone else had this problem. A
> :direct email reply would be appreciated.
> :Thanks!
> :

> Sounds like somewhere in mycommand or mycommand2 you are generating a value
> larger than an int that code is subsequently trying to use as a numeric
> value.  Unfortunately that's your limit.  If you can identify from where the
> large value is coming, and determine whether it is really needed, you could
> try one of the extended math packages - at least one is listed at
> <URL:>.

> --
> "See, he's not just anyone ... he's my son."  Mark Schultz

> Even if explicitly stated to the contrary, nothing in this posting
> should be construed as representing my employer's opinions.
> -><-