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
 

 

Way to invoke web services from COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Senthilkumar k
Warnings : 1

New User


Joined: 07 May 2009
Posts: 51
Location: Chennai

PostPosted: Sun Oct 21, 2012 4:36 pm    Post subject: Way to invoke web services from COBOL
Reply with quote

Hi All, I am able to invoke CICS web services(CWI) from my CICS/COBOL program. Is there any way to invoke web services from pure COBOL program(batch program).

Please help me on the above query please. Thanks in advance.
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1715
Location: UK

PostPosted: Sun Oct 21, 2012 4:47 pm    Post subject:
Reply with quote

It may be possible, I do not know,but why would you want to? It is batch and therefor not interactive so why web?
Back to top
View user's profile Send private message
Senthilkumar k
Warnings : 1

New User


Joined: 07 May 2009
Posts: 51
Location: Chennai

PostPosted: Sun Oct 21, 2012 4:54 pm    Post subject:
Reply with quote

Hi Nic Clouston thanks for your quick reply. I wanted this because, during the CICS region down some of the batch jobs will run and produce the reports. I need to send this reports to Web. Also, these reports will have multi language.

If I trigger web services from batch. Then web services will take care of converting the multi languages from EBCDIC to UTF-8 format or other format.

Else, please provide me the way how to covert the EBCDIC to UTF-8. I tried converting this using the DISPLAY-OF and NATIONAL-OF but I am not getting the expected result.
Back to top
View user's profile Send private message
haimzeevi

New User


Joined: 01 Mar 2010
Posts: 27
Location: Israel

PostPosted: Sun Oct 21, 2012 6:32 pm    Post subject: Reply to: Way to invoke web services from COBOL
Reply with quote

Hi Kummar,
Do you use MQSeries in your site? most tasks you mentioned may be carried out by MQ messages, including triggering & page-code transforming. It takes administration to set up queues etc. but less developement.
CICS & Cobol manuals explain how to work with XML, not clear enough for me.
Good luck.
Haim Zeevi
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Sun Oct 21, 2012 6:40 pm    Post subject:
Reply with quote

I doubt anything we say will help since you have determined what your solution will be, irrespective of the facts.

If your site has a report management system, such as TRMS/WEB, you should use it instead of designing your own solution.

If your site is running the HTTP server that z/OS can run, it is also possible to have your reports written as files in Unix System Services and let the web browser access the reports.

If you do not know if either of these is implemented at your site, then you have not done NEARLY enough research on the issue yet.
Back to top
View user's profile Send private message
Senthilkumar k
Warnings : 1

New User


Joined: 07 May 2009
Posts: 51
Location: Chennai

PostPosted: Sun Oct 21, 2012 7:05 pm    Post subject:
Reply with quote

Quote:
If your site is running the HTTP server that z/OS can run, it is also possible to have your reports written as files in Unix System Services and let the web browser access the reports.


Hi Rovert Sample, our site is running the HTTP server that z/OS can run. My problem here is, I have stored the Chinese char in VSAM file and I am creating the report using the Chinese char which is available in VSAM file. But, when I display that chinese char in report it is showing like junk char ex:"Za½Wlg " instead of equalent chinese char.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Sun Oct 21, 2012 8:07 pm    Post subject:
Reply with quote

Have you investigated what is needed to change the code page in the web browser to display Chinese characters?
Back to top
View user's profile Send private message
Senthilkumar k
Warnings : 1

New User


Joined: 07 May 2009
Posts: 51
Location: Chennai

PostPosted: Sun Oct 21, 2012 9:33 pm    Post subject:
Reply with quote

Yes I have but no luck.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am


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