Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Query : EXEC CICS WEB OPEN

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
arunn

New User


Joined: 03 Sep 2010
Posts: 13
Location: Bengaluru

PostPosted: Fri Mar 04, 2011 1:13 pm    Post subject: Query : EXEC CICS WEB OPEN
Reply with quote

Hi,

I have a query regarding the usage of web open command.
This command is used to open connection to a specified host in the internet.

Here is a snippet of the command that i am using.

EXEC CICS WEB OPEN
HOST(HOSTNAME)
HOSTLENGTH(LENGTH OF HOSTNAME)
PORTNUMBER(PORTNUM)
HTTP or HTTPS
SESSTOKEN(TOKEN)
RESP(CICSRESP)
RESP2(CICSRESP2)
END-EXEC.


Web open can done either using the HTTP or HTTPS.
First the URL used was with the scheme HTTP, defualt port number for HTTP is 80 and that is what i have used. The connection established flawlessly and everthying else went according to plan.

Now, upon changing the scheme name to HTTPS is the URL( Had to change to HTTPS as that would be the requirement down the line) and the port number was changed to 443 - Default port number for HTTPS requests. Now when a call is made i am getting back the
CICSRESP = 16: Invalid Request and CICSRESP2 = 96 : SSL not supported. Can somebody please explain to me what exactly this error means. Is there something that needs to be done from the code perspective or anything else to avoid this.

Another query is that in the reference manual from publib boulder for web open i saw that " If HTTPS is used, the CICS address space must be enabled for SSL" . I think that this is what would be required but not entirely sure as to who and how this could be achieved. I will consult the CICS admin folks regarding this , but before i did wanted to be sure that there is nothing that would be required from a developers perspective to acheive this.


Thanks in advance,
Arun.
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 04, 2011 1:17 pm    Post subject:
Reply with quote

http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfhtl/topics/dfhtl_cwsssl.htm
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7932
Location: Bellevue, IA

PostPosted: Fri Mar 04, 2011 4:06 pm    Post subject:
Reply with quote

Quote:
Is there something that needs to be done from the code perspective or anything else to avoid this.
No -- from the code perspective things are fine. The system either does not have SSL set up, or the specific CICS region does not have SSL set up. Neither problem is code related, but something the system support group needs to address.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts Join in SQL Query vickey_dw DB2 2 Tue Jan 17, 2017 12:15 am
This topic is locked: you cannot edit posts or make replies. MQ setup query mohitsaini Java & MQSeries 4 Sun Jan 08, 2017 1:53 am
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us