![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Returns the system error message whenever an exception is raised. RETURN_MESSAGE is a low-level tool that must be called immediately after an exception is trapped. (F)
On return, contains the return message. Its syntax is V (variable-length character string) with length 258.
• RETURN_MESSAGE returns the system error message that is set whenever an exception is raised. It is used to obtain the system error message whenever a table access or a routine raises an exception. A routine is a low-level shareable tool that is not written in the rules language.
• RETURN_MESSAGE should not be used to obtain a message when a tool written in rules raises an exception.The following rule returns the system message from the system exception GETFAIL. Notice the use of the local variable string. This code ensures that RETURN_MESSAGE is called immediately after the exception is trapped.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |