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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How is a MVS JCL call to a web service coded?
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: 7936
Location: Bellevue, IA

PostPosted: Fri Sep 11, 2009 7:55 pm    Post subject:
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    Post subject: Can't an HTTP call be executed from JCL, similar to REXEC?
Reply with quote

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

Site Director


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

PostPosted: Fri Sep 11, 2009 8:47 pm    Post subject:
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    Post subject: Why isn't REXEC acceptable for calling my web service?
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

Senior Member


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

PostPosted: Fri Sep 11, 2009 9:20 pm    Post subject: Reply to: How is a MVS JCL call to a web service coded?
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Any Recommended Timesharing service c... johnmull All Other Mainframe Topics 0 Mon Jan 02, 2017 11:39 am
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


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