An invoked state table can return data to the invoking state table by assigning a new value to an “input” parameter. Because parameters are passed by reference to state tables, the new value will be available to the invoking state table.
A prompt cannot return data to the state table, but the RETURN and ABORT statements set the value of the System : PlayPrompt status system variable (SV130), which can then be read by the state table.
A 3270 server or custom server can return data to the state table using parameters on the ReceiveData action.