Todd Boyd wrote:
>I'm using the HPCIGETVAR intrinsic to retrieve a string variable and
>getting the error number -8111 subsystem 166. I can't find any
>documentation for this error message. Any ideas?
Using Stan's (I think) command file:
:showerr 166,8111
HPDEBUG Intrinsic at: a.00a2a678 hxdebug+$c4
variable management
The length of the variable name is greater than 255 characters.
where 'showerr' contains:
parm p_subsys=108,p_error=63
comment This command file decodes subsys and info error codes.
comment Compliments of Mike Hornsby from Beechglen Development.
comment With special thanks to Stan Sieler from Allegro.
comment
setvar subsys hex(!p_subsys)
setvar error hex(!p_error)
comment the hex conversion allows for negative numbers
comment the #32765 is magic according to Stan!
setvar cmd "wl errmsg(#32765,!subsys);wl errmsg(!error,!subsys);exit"
debug !cmd
deletevar cmd
I'd suspect that you haven't blank-terminated the variable name in
the call to HPCIGETVAR.
------------
Randy Medd
Telamon, Inc.