![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Returns the last $SYSCALL system error message when an exception is raised. RETURN_SYSMSG 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 128.
• RETURN_SYSMSG returns the last $SYSCALL system error message that is set when an exception is raised. It is used to obtain the system error message when a routine raises an exception. A routine is a low-level shareable tool that is not written in the rules language.
• RETURN_SYSMSG 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 ROUTINEFAIL. Notice the use of the local variable string. This code ensures that RETURN_SYSMSG is called immediately after the exception is trapped.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |