CA Service Management

CA SDM::.SPEL::. set_return_data([int index,] data) 

Mar 03, 2017 12:46 PM

Overview

There are three builtin functions to build a reply message to the caller, is used to return message, any return message args previously set with set_return_data ().

 

Set_return_data can be used in two ways - set_return_data (data) appends the data which can be any type to the end of the message and set_return_data (int index, data) which places the data at the index in the message   

Usage

 

Results

 

Examples

{
// NOTE:  E_INVALID is an enum
set_error (E_INVALID);
set_return_data ("Illegal operation requested");
set_return_data ("\"Fred\" is not a valid main course");
}

 

 

 

 

 

Where can I find Spel functions documentation? 

CA SDM::.SPEL::. set_error(int error) 

Statistics
0 Favorited
8 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.