Page 1 of 1

Injecting HTTPHEADER parameters in the program in HLASM

PostPosted: Thu Aug 18, 2022 12:40 am
by dfymarine
Good day all,

I am a newbie in Mainframe and High Level Assembler Language. I have been trying to code in some changes in two CICS programs by using CICS command below:

EXEC CICS WEB WRITE HTTPHEADER(HTTPHEA1) NAMELENGTH(NAMLEN1) VALUE(HTTPVAL) VALUELENGTH(VALLEN)

One of these two CICS programs has an authentication box popping up every time it is loaded, but when I code the above-mentioned command in the program with CICS WEB SEND, the HTTPHEADER would not be injected in the response header.

Does anyone have experience with writing it ?

I've read the IBM documentation and consulted with IBM. They recommended switching to HTTP 1.1 RFC2616 from HTTP 1.0 RFC 1945... (I've no idea what that means)

I am at wit's end.

Your help and guidance are greatly appreicated!