IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How is a MVS JCL call to a web service coded?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
E Pontier

New User


Joined: 17 Jun 2009
Posts: 5
Location: Des Moines IA

PostPosted: Fri Sep 11, 2009 7:26 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Sep 11, 2009 7:55 pm
Reply with quote

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
View user's profile Send private message
E Pontier

New User


Joined: 17 Jun 2009
Posts: 5
Location: Des Moines IA

PostPosted: Fri Sep 11, 2009 8:03 pm
Reply with quote

with the proper syntax, of course.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Sep 11, 2009 8:47 pm
Reply with quote

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
View user's profile Send private message
E Pontier

New User


Joined: 17 Jun 2009
Posts: 5
Location: Des Moines IA

PostPosted: Fri Sep 11, 2009 8:59 pm
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Fri Sep 11, 2009 9:20 pm
Reply with quote

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
View user's profile Send private message
E Pontier

New User


Joined: 17 Jun 2009
Posts: 5
Location: Des Moines IA

PostPosted: Fri Sep 11, 2009 9:40 pm
Reply with quote

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
View user's profile Send private message
E Pontier

New User


Joined: 17 Jun 2009
Posts: 5
Location: Des Moines IA

PostPosted: Fri Sep 11, 2009 9:42 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to avoid duplicating a CICS Web S... CICS 0
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Can EATTR be coded in an IMS COBOL pgm? IMS DB/DC 1
Search our Forums:

Back to Top