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.
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.
CICS/TS CICS TS CICS Transaction Server CICS/VSE VSE z/VSE