9 Sending Expected Replies

A reply associated with an existing command has to be sent using ams_reply(), specifying the relevant (path,messid). The command transaction is terminated automatically if a reply is sent with a message_status other than those listed in ‘Getting Expected Replies’ (Section 7)

See also ‘Sending a Command’ (Section 6) for a discussion of the significance of the other arguments of ams_reply.