Page 1 of 1

Web Services via a Batch Job?

PostPosted: Fri Aug 21, 2009 7:06 pm
by phirsch
Hi all,

I have a simple question....I believe.

Is it possible to call a Web Service via a batch job within a Cobol pgm?

Here is what we use or have available:

z/os, CICS Transaction server 3.2, Websphere

Re: Web Services via a Batch Job?

PostPosted: Sat Aug 22, 2009 1:01 am
by dick scherrer
Hello and welcome to the forum,

I have a simple question....
The questions often are. . . It is the answers that get hung out to dry. . . :)

What would this batch job accomplish via the web service? What about an asyncronous cics transaction (one not using a terminal).

Suggest you ask your cics or network support people what (if anything) is available within that environment on your system.

Re: Web Services via a Batch Job?

PostPosted: Tue Aug 25, 2009 5:48 pm
by phirsch
Thanks for the reply Dick.

The Web Service would simply validate a certain type of data before this data is actually posted to our DB2 database.

In theory, our batch job would call this Web Service (pass info to it) and would expect a return of Yes the data is valid, no the data is invalid. We would be consuming this Web Service from an external source which published/registered this type of service. We are exploring the feasability of calling a Web Service versus actually storing this type of data in house for validation purposes.

Just wondering if this capability exists running a batch job. z/os, DB2 DBMS, WebSphere for our Web Server, Unix partition & CICS.

Thanks in Adance...Pat

Re: Web Services via a Batch Job?

PostPosted: Wed Aug 26, 2009 8:05 am
by dick scherrer
Hi Pat,

There may be some info you can use here:
http://www-949.ibm.com/software/rationa ... s/DOC-2912

http://www-01.ibm.com/common/ssi/cgi-bi ... NUS207-339

http://www.redbooks.ibm.com/abstracts/s ... .html?Open

You might also look into using MQ.

Depending on the volume of validations, it may cause a performance hit if this is done on the web interactively. Periodically downloading the data (or the recent updates) may provide better management and tuning. . .