View previous topic :: View next topic
|
Author |
Message |
E Pontier
New User
Joined: 17 Jun 2009 Posts: 5 Location: Des Moines IA
|
|
|
|
My site may wish to call a self-contained web service from a mainframe job. Where can I find the syntax to make such a call using JCL?
Today, our job uses an REXEC call to start a server-resident Java application. However, the application is moving to a secure server where REXEC is not an acceptable access method.
We could write a COBOL program to call the web service but I am allowed to hope that is not necessary. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
JCL executes programs. Is there a program (other than COBOL) which you can use to invoke the web service? If there is not, you're writing COBOL. If there is, use it. |
|
Back to top |
|
|
E Pontier
New User
Joined: 17 Jun 2009 Posts: 5 Location: Des Moines IA
|
|
|
|
with the proper syntax, of course. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
However, the application is moving to a secure server where REXEC is not an acceptable access method. |
Why would jcl be acceptable when "rexec" is not? Why cobol?
Suggest you find out what is acceptable before spending any more time on this. . . |
|
Back to top |
|
|
E Pontier
New User
Joined: 17 Jun 2009 Posts: 5 Location: Des Moines IA
|
|
|
|
Security for the server wants an intermediary stop between the calling application (MVS JCL) and the server application. Many of the other server applications on the server wait for a FTP'd file to show up at the intermediate stop then execute - the stop makes sense for them. The application I call just needs a signal from the mainframe its input file is available then will go after that file itself.
When the job is CA7 scheduled, the intermediary is Tivoli Workload scheduler. When CA7 cannot be used (in a test environment), we've used REXEC to call the server. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
It is hard to provide advice when your web service is very vague.
If you were to write a call to your web service in COBOL, what would the call look like? What are its input parms? Expected output?
Quote: |
When the job is CA7 scheduled, the intermediary is Tivoli Workload scheduler. |
Sorry, I do not understand you situation... are there two scheduler products involved? Why can't you manually submit a job that uses Tivoli Workload scheduler? |
|
Back to top |
|
|
E Pontier
New User
Joined: 17 Jun 2009 Posts: 5 Location: Des Moines IA
|
|
|
|
The application is relatively self-contained. It FPT GETs a mainframe file, searches a db2 database, FTPs found files identified by the database to the mainframe and generates a master list of the found document that is in turn FPTd back to the mainframe before another job is kicked off.
There are some parameters to be passed, identifying ini & cmd files used by the application for finding/creating the mainframe file names. These are needed as the application is triggered by four mainframe processes that run independently & concurrently.
I apologize this is still vague but I'm trying to keep the question general, rather than dive into specifics. |
|
Back to top |
|
|
E Pontier
New User
Joined: 17 Jun 2009 Posts: 5 Location: Des Moines IA
|
|
|
|
Oh, and there different scheduling methods in use - CA7 & Tivoli are not a problem. It is when they cannot be used and the sequence of cycle jobs are controlled by a mainframe PARM we have trouble. |
|
Back to top |
|
|
|