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: 2433
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: 8057
Location: East Dubuque, Illinois, USA

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 Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm


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