Retrieves the error text generated by the production object and places the text into a string variable. The error is set when a failure such as error during parsing of data occurs.
geterrtext(string *ErrTxt);
Parameter |
Description |
---|---|
ErrTxt |
Pointer to a string variable to hold the error text. |
Integer.
Returns the most recent error number set by the production object.
string my_msg;
my_prod.geterrtext(&my_msg);
erm("Production Error : [ %s]", my_msg );
where my_prod is the name of the production object.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |