This tag causes the web server to request text (typically XML, XHTML or HTML) from the currently running COBOL service program. The response text generated by the COBOL program replaces the XMLExchange tag in the output stream.
XMLExchange XMLExchange ( OnExit=url )
The optional OnExit parameter determines the action that BIS takes if the service program is not active or terminates while the XMLExchange is being processed. It causes BIS to return an HTTP return code of 302 (HTTP_REDIRECT_FOUND) to the client. This causes the client to reissue the GET request for the specified URL.