No output to a browser when using your own converter program

Technote (troubleshooting)


Problem(Abstract)

You are coding your own converter program to do encode and decode processing. Your web application builds a response and sends it to the browser but the browser never displays anything.

Cause

CICS calls DFHWBSR with a commarea containing the response built by the application. However, the response does not contain HTTP headers before the user data. DFHWBSR immediately exits with a Socket call to place the data out on the wire.

Resolving the problem

Build your response with header HTTP/1.1 200 OK (followed by two CRLFs) placed in front of the user data. You also need to update the length of the response to include the additional data.

Product Alias/Synonym

CICS/TS CICS TS CICS Transaction Server CICS/VSE VSE z/VSE

Rate this page:

(0 users)Average rating

Document information


More support for:

CICS Transaction Server
CICS Web support

Software version:

1.1.1, 3.1, 3.2, 4.1, 4.2, 5.1

Operating system(s):

z/OS, z/VSE

Reference #:

1051182

Modified date:

2013-03-29

Translate my page

Machine Translation

Content navigation