MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Calling a web application from either CICS or REXX

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
saravanpm
Beginner


Joined: 16 Oct 2008
Posts: 1
Topics: 1
Location: columbus

PostPosted: Thu Oct 16, 2008 4:03 pm    Post subject: Calling a web application from either CICS or REXX Reply with quote

Hi,

Is there a way to call a web application from either CICS application or a Rexx program.

I need to call a web page, do some processing get the results in the web page and i need to key in this result manually into CICS screen.

Is there a way to do this and how? If so which version of CICS supports this.

If not, is that possible to do the same from REXX program?

Thanks,
_________________
Saravanan
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
archowdhury
Beginner


Joined: 30 Dec 2004
Posts: 4
Topics: 2

PostPosted: Mon Dec 01, 2008 3:13 am    Post subject: Reply with quote

Hi Saravan,
A CICS program can take inputs from a web page. But ideally what happens is that the web page takes user inputs and passes them through some middleware like MQseries. This input then comes to the mainframe side which your program receives and processes.

When you return something to the web frontend that has to go through the middleware.

I don't think there is any specific version of CICS which you need to do that. I am not sure how to do the same with ReXX.

Hope that makes things a little clear.

~Amit
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Dec 01, 2008 9:01 am    Post subject: Reply with quote

CICS can call outbound web services from V3.2 (?) on but web services use a specific, well defined format. If you want to call web pages of any format, you would have to send the requests and parse the responses yourself as well as handle timeouts, errors, etc. You might want to write some scripting at a PC that can do the web work using programs like wget, java, perl, rexx or whatever, then use your 3270 emulator's macro facility to enter the results into CICS screens. You might also run the web fetch/parse from the Unix size of z/OS and find a way to feed the web results into CICS in batch.
If you have control of the web page, create real web services and use CICS directly.

Be sure to check with your security group to be sure this is done in a secure way (eg, not hardcoding passwords, not making the apps available outside your org, etc).
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group