Output parameters for the decode function

Attention: This topic contains Product-sensitive Programming Interface and Associated Guidance Information.
The decode function must provide the following outputs in its COMMAREA:
  • A response code (optionally qualified by a reason code).

    If the decode function returns a response code of URP_OK, processing continues with the next step.

    If the decode function returns any other value, the HTTP request is rejected. For details of the HTTP server response, see Default status codes and error responses.

  • The address and length of the COMMAREA passed to the CICS® application program. If no application program is called, the COMMAREA is passed unchanged to the encode function.
It may also provide the following outputs:
  • The name of the CICS application program that is to service the request. If the analyzer supplied a name, the converter can change it, or specify that no application program should be called.
  • An eight byte user token, used to share information between the analyzer and converter programs. See Sharing data between analyzer and converter programs.