Status code command (-STATUS_CODE)

When the HTTP adapter -STATUS_CODE command is used on a map input card, it associates one or more map error codes with an HTTP status code.

If the map fails or its output card does not produce a response, the -STATUS_CODE command on the input card returns the HTTP status code to the HTTP client. The /runtime/M4HTTP section of the tx_install_dir\config.yaml configuration file defines default HTTP status codes that the listener returns to the client (if the input card does not override them with the -STATUS_CODE command).