View previous topic :: View next topic
|
Author |
Message |
Senthilkumar k Warnings : 1 New User
Joined: 07 May 2009 Posts: 51 Location: Chennai
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
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 |
|
|
Senthilkumar k Warnings : 1 New User
Joined: 07 May 2009 Posts: 51 Location: Chennai
|
|
|
|
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 |
|
|
haimzeevi
New User
Joined: 01 Mar 2010 Posts: 27 Location: Israel
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Senthilkumar k Warnings : 1 New User
Joined: 07 May 2009 Posts: 51 Location: Chennai
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Have you investigated what is needed to change the code page in the web browser to display Chinese characters? |
|
Back to top |
|
|
Senthilkumar k Warnings : 1 New User
Joined: 07 May 2009 Posts: 51 Location: Chennai
|
|
|
|
Yes I have but no luck. |
|
Back to top |
|
|
|