M204.1254 User language statement is invalid in this conversation state
This error occurs when a SOUL program executes a Horizon command or statement that is not appropriate for the current state of the conversation. (For example, issuing a SEND verb when the conversation is in RECEIVE state is not permitted and will result in this error.)
Response: Determine the Horizon command or statement that was being executed, and consult the appropriate to find out which states the verb may be issued from. Determine what state the conversation actually was in, and modify the program (or the partner program, if necessary) to ensure that the conversation is in a valid state before issuing that verb.
Often this error occurs when you have not tested for an error that may have occurred on a previous Horizon verb that has placed the conversation in RESET state.
|RETCODEO=0||Sets online return code|
|RETCODEB=4||Sets batch (single user) return code|
|CLASS=E||Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter|
|AUDITER||Writes the message with line type ER to the audit trail|
|COUNT||Increments the error count (ERCNT) parameter|
|NOTERM||Does not display the message on the user's terminal|
|SAVE||Saves the message in the VIEW ERRORS table|