Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
CICS Service requester-receiving 'Hostname is not resolved'

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

New User


Joined: 20 Apr 2015
Posts: 3
Location: United States

PostPosted: Sat Mar 05, 2016 1:25 am    Post subject: CICS Service requester-receiving 'Hostname is not resolved'
Reply with quote

Am trying to test my CICS web service requester to consume a java API which is hosted on my local machine. When I try to execute the program, it fails during the Http connection open with the below CICS response codes.

RESP1 value:
13 NOTFND
RESP2 values:
20 - Host name is not resolved by name server or the format of the host option is incorrect.

Below is the information provided relevant to these RESP codes by IBM in one of their web page:
If a CICS region operating in a dual-mode environment issues a WEB OPEN command, specifying an IPv6 address (or a hostname that resolves to an IPv6 address) to a listening CICS region that is operating in a single-mode environment, the CICS region issuing the command might receive a NOTFND error code with a RESP2 value of 20 (host name is not resolved by name server or the format of the host option is incorrect). This message can be issued because the dual-mode environment has attempted to connect using IPv6 and the single-mode region does not have IPv6 capability.

I checked that my Internet connection on local machine is both IPv4 and IPv6 enabled.

Below is my HTTP connection statement:
EXEC CICS WEB OPEN
Host('my machine host name')
Hostlength(12)
Portnumber(portnumber on which API is up)
HTTP
SESSTOKEN(TOKEN)
RESP(CICS-RESP)
RESP2(CICS-RESP2)
END-EXEC.

Any help on this is much appreciated.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Sat Mar 05, 2016 3:14 am    Post subject:
Reply with quote

So your local PC is running HTTP server software?
Back to top
View user's profile Send private message
urampilla

New User


Joined: 20 Apr 2015
Posts: 3
Location: United States

PostPosted: Sat Mar 05, 2016 4:01 am    Post subject:
Reply with quote

Robert Sample wrote:
So your local PC is running HTTP server software?


Yes, it is running on Tomcat server which is configured to use HTTP.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Sat Mar 05, 2016 7:17 am    Post subject:
Reply with quote

In that case, you MUST contact your site support group and work with them to find out why the mainframe's name server is not resolving your host name of the Tomcat server. There is nothing anyone on this -- or any -- forum can do to help you as the assistance must come from someone working at your site who can investigate the issues.
Back to top
View user's profile Send private message
urampilla

New User


Joined: 20 Apr 2015
Posts: 3
Location: United States

PostPosted: Tue Mar 08, 2016 10:54 am    Post subject:
Reply with quote

I could have the issue resolved by configuring tomcat server to use my machine IP address from default IP address, 127.0.0.1. Then opening the Web connection to IP address instead of hostname.
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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us