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

Submit a job/script from webpage


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Feb 01, 2018 4:10 am
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: 1742
Location: Tirupur, India

PostPosted: Thu Feb 01, 2018 4:14 am
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: 1742
Location: Tirupur, India

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

I think I got my answer here 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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Feb 02, 2018 8:10 pm
Reply with quote

It can be done through z/OSMF per 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: 917
Location: The Universe

PostPosted: Fri Feb 02, 2018 8:56 pm
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: 1742
Location: Tirupur, India

PostPosted: Fri Feb 02, 2018 11:35 pm
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: 1742
Location: Tirupur, India

PostPosted: Fri Feb 02, 2018 11:38 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts How to submit multiple jobs with parm... JCL & VSAM 3
No new posts Embeding DB2 sql statements in scirpt... DB2 7
No new posts OMVS Shell Script not working properly. All Other Mainframe Topics 1
No new posts Alter User LOGON Script Parameters CLIST & REXX 11
Search our Forums:

Back to Top