Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum 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: 1691
Location: Tiruppur, India

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: 1691
Location: Tiruppur, India

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: 1691
Location: Tiruppur, India

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: 8551
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: 836
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: 1691
Location: Tiruppur, India

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: 1691
Location: Tiruppur, India

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 Submit Print Job For PDS Member With ... AllenSieracki TSO/ISPF 17 Fri Apr 10, 2020 9:31 pm
No new posts Trying to submit COBOL PGM - JCL ERRO... sandeep prajapati JCL & VSAM 5 Tue Mar 24, 2020 11:21 pm
No new posts Executing Linux Shell Script from Mai... yuvan All Other Mainframe Topics 9 Fri Jan 17, 2020 4:24 pm
No new posts How to launch a webpage from CICS scr... revathyms CICS 2 Tue Jan 14, 2020 2:28 pm
No new posts Generate and submit JCL and step dyna... vnktrrd DFSORT/ICETOOL 11 Wed Jul 25, 2018 11:31 pm

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