Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Submit a job/script from webpage

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1540
Location: Chennai

PostPosted: Thu Feb 01, 2018 4:10 am    Post subject: Submit a job/script from webpage
Reply with quote

Hi,

We have HTTP server on the Mainframe(not Apache yet) and it serves the files that reside on Unix system services.

Currently there are static web pages in USS and they can be accessed via a web browser.

I want to submit a script on Mainframe whenever user clicks a button on the web page & return the output of the script on the webpage. Script can be a REXX program or any programming language.

Could you please let me know what architecture elements would be required to make this happen.

Is it possible to do this without Websphere?

This is kind of an open ended question so please let me know just the high level overview of how this could be achieved and I would learn about it.

Regards,
Vasanth.S
Back to top
View user's profile Send private message

vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1540
Location: Chennai

PostPosted: Thu Feb 01, 2018 4:14 am    Post subject:
Reply with quote

I understand that this has security limitations, but doing this only as a proof of concept
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1540
Location: Chennai

PostPosted: Fri Feb 02, 2018 2:18 am    Post subject:
Reply with quote

I think I got my answer here http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IMWZIU18/CCONTENTS?SHELF=E0Z2IN80&DN=SC34-4826-09&DT=20070518142743

Quote:
"Basically, anytime you want to take input from the browser and generate a response, you can use a CGI program."
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Feb 02, 2018 8:10 pm    Post subject: Reply to: Submit a job/script from webpage
Reply with quote

It can be done through z/OSMF per https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.izua700/IZUHPINFO_API_RESTJOBS.htm although I'm not sure running z/OSMF would be worth it (the overhead, unless you have zIIP engines, is phenomenal).
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 602
Location: The Universe

PostPosted: Fri Feb 02, 2018 8:56 pm    Post subject:
Reply with quote

Quote:
ERROR: LOGOUT FAILED; You need to be logged in to log out. Please log in to log out.
That reminds me of another essentially useless message from OS/360 IEHMOVE.

DATA SET NOT MOVED/COPIED BECAUSE NOT MOVED COPIED

Yes, I really got that message. Really and truly.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1540
Location: Chennai

PostPosted: Fri Feb 02, 2018 11:35 pm    Post subject:
Reply with quote

Thanks Robert for the info,we don't have z/OSMF yet. Last time when IBM visited our shop they were pushing z/OSMF big time, they said that once you go z/OSMF then you would very rarely have the need to look at green screens. Also they said that z/OSMF with 1.13 is a pain in the ass, but its been improved a lot with 2.1 and up.

We may try it out with the z/OS 2.3 upgrade
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1540
Location: Chennai

PostPosted: Fri Feb 02, 2018 11:38 pm    Post subject:
Reply with quote

steve-myers wrote:
Quote:
ERROR: LOGOUT FAILED; You need to be logged in to log out. Please log in to log out.
That reminds me of another essentially useless message from OS/360 IEHMOVE.

DATA SET NOT MOVED/COPIED BECAUSE NOT MOVED COPIED

Yes, I really got that message. Really and truly.


I copied it from here :-)
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to get the output from submit com... Joanna2016 CLIST & REXX 10 Tue Feb 06, 2018 7:26 am
No new posts How many people submit job? Pedro All Other Mainframe Topics 2 Thu Oct 26, 2017 2:59 am
No new posts Iterative use of a REXX script causin... bryonyh CLIST & REXX 4 Fri Jul 28, 2017 12:52 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us