Re: zos program to supply web based client
As Dave says, ADABAS has a call interface that's not too hard to navigate. In your case, perhaps a Find command (S1 I think). You have to supply a parameter list CB,FB,VB,RB,IB. It's been 37 years but I still remember it . On Wed, Jan 23, 2019 at 11:26 AM Gibney, Dave wrote: > It would take some effort :) but, the direct call interface is still there > :) > > > -Original Message- > > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > > On Behalf Of Brian Westerman > > Sent: Tuesday, January 22, 2019 4:22 PM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: Re: zos program to supply web based client > > > > Unfortunately the data has to come from a Adabas database. While they > all > > appear to be really good ideas, it probably won't fit in this case. > > > > Thanks again, > > > > Brian > > > > -- > > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to > > lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- Wayne V. Bickerdike -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
It would take some effort :) but, the direct call interface is still there :) > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of Brian Westerman > Sent: Tuesday, January 22, 2019 4:22 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: zos program to supply web based client > > Unfortunately the data has to come from a Adabas database. While they all > appear to be really good ideas, it probably won't fit in this case. > > Thanks again, > > Brian > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
Unfortunately the data has to come from a Adabas database. While they all appear to be really good ideas, it probably won't fit in this case. Thanks again, Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
I have a number of REXX CGI programs that I wrote originally for the Domino Go HTTP server, and subsequently migrated them to the z/OS supplied Apache HTTP server. They ran unchanged for the most part, except for early after the Apache server was made available for z/OS, CGIPARSE was not available and I had to substitute code to parse the variables by hand. Then later CGIPARSE was again made available to Apache and they were changed back (I think) to almost their original form. A good redbook discussing all this is available: http://www.redbooks.ibm.com/redpapers/pdfs/redp4987.pdf Dana >On Mon, 21 Jan 2019 22:00:51 -0600, Tim Hare wrote: > >>I haven't seen the Apache web server mentioned for some reason. I haven't >>used Apache but on the previous Domino-based web server you could write a >>Rexx CGI (Common Gateway Interface, not Computer Generated Images) program >>that could be invoked via URL and retrieve whatever you want. When I fooled >>with it I chose to return XML but you can return whatever the client program >>needs I am sure. I don't know if Apache still support CGI but it definitely >>supports _some_ way to invoke an application program via the web. The >>Apache server is "free" with z/OS, too, I believe. >> -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
Tim Hare brings up another viable choice. Here are some pointers: 1. Yes, you can use the IBM HTTP Server for z/OS in the fashion (request-dynamic response) Tim has in mind. One of my colleagues wrote some REXX sample code which uses the Common Gateway Interface (CGI) support in the Apache-based IBM HTTP Server for z/OS. That sample code and associated documentation is available here: http://www.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/TD106087 As another example, Steve Comstock (who posts here from time to time) sells some "how to" manuals showing how to write CGI programs in COBOL and Assembler: http://www.trainersfriend.com/zOS.shtml 2. If you're even slightly more clever then you can extend the above technique(s) to parse JSON-formatted data from the inbound request and return JSON-formatted data to the requestor. The base z/OS operating system includes JSON callable parsing services, described here (z/OS 2.3 link): https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.ieac100/ieac1-cwe-json-services.htm To generate (and/or parse) JSON you could use Enterprise COBOL ("JSON GENERATE" was introduced in Version 6.1), CICS Transaction Server's JSON pipeline (part of CICS Web Services), the JSON/RESTful support in MQ for z/OS (I believe they're callable services), or Java libraries for JSON (there are a bunch of them), as examples. With JSON parsing/generation added you'd be partially reinventing an excellent, much better, bidirectional, and fully IBM supported wheel (z/OS Connect Enterprise Edition). That's probably not a terrific idea, but I have seen one customer do exactly that for some strange reason. 3. I probably should have also mentioned that those of you with Db2 for z/OS could use that if Db2 can answer the requests, at least via a Db2 stored procedure. Db2 supports a wide variety of client connection protocols including DRDA, JDBC, ODBC, ADO.NET, and RESTful/JSON. As always, be careful about security. Timothy Sipples IT Architect Executive, Industry Solutions, IBM Z & LinuxONE E-Mail: sipp...@sg.ibm.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
On Mon, 21 Jan 2019 22:00:51 -0600, Tim Hare wrote: >I haven't seen the Apache web server mentioned for some reason. I haven't >used Apache but on the previous Domino-based web server you could write a Rexx >CGI (Common Gateway Interface, not Computer Generated Images) program that >could be invoked via URL and retrieve whatever you want. When I fooled with >it I chose to return XML but you can return whatever the client program needs >I am sure. I don't know if Apache still support CGI but it definitely >supports _some_ way to invoke an application program via the web. The Apache >server is "free" with z/OS, too, I believe. > When I tried this many years ago: o The Rexx CGI must reside in a UNIX directory. o That UNIX directory must be in the PATH environmant variable for Apache. It does not suffice merely to invoke that CGI via a fully-qualified path. (This is a bug in the Rexx interpreter.) o The QUERY_STRING is available via the special Rexx compound symbol, __environment. See: Using REXX and z/OS UNIX System Services Version 2 Release 3 SA23-2283-30 -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
I haven't seen the Apache web server mentioned for some reason. I haven't used Apache but on the previous Domino-based web server you could write a Rexx CGI (Common Gateway Interface, not Computer Generated Images) program that could be invoked via URL and retrieve whatever you want. When I fooled with it I chose to return XML but you can return whatever the client program needs I am sure. I don't know if Apache still support CGI but it definitely supports _some_ way to invoke an application program via the web. The Apache server is "free" with z/OS, too, I believe. Disclaimer: I am retired and consult part-time, so if some z/OS 2.3 thing has changed circumstances I might not be completely up to date. Hopefully to be remedied at a future SHARE someday. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
> On Jan 11, 2019, at 11:14 PM, Brian Westerman > wrote: > > Since it does use Adabas, maybe EntireX is the proper answer for this. Right. Also, you mentioned COM-PLETE, which has some ability to act as a web server. You might investigate that. -- Pew, Curtis G curtis@austin.utexas.edu ITS Systems/Core/Administrative Services -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
No, single server getting the next available slot to schedule an available time. I have a slot of studying to do now while I track down all of your suggestions. Thanks again, Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
Brian Westerman wrote: >The don't have CICS, that would have made this almost easy. Yes. >z/OS, Adabas, Com-Plete on the mainframe, the open system server >is Windows Server 2018, the application is looking for the "next" >available date to schedule their task, but the "owner" of that >schedule is on the mainframe. The "old" application would jsut >go to Adabas, grab the next available empty schedule slot, and >mark it used. The "new" application still needs to get that >schedule "slot" from the mainframe, but does everything else on >it's own. So they need to ask the mainframe to run a task that >will go to Adabas, get the next avaiable slot, mark it used, and >pass it back to the Windows server. OK. In the IBM product portfolio, z/OS Connect Enterprise Edition or, if direct to ADABAS, Data Virtualization Manager for z/OS would likely be the preferred, elegant approaches. However, if you want to cobble something together without too much effort as a "one off," and with something your customer already has licensed, I would look at the z/OS Management Facility and its REST interface for jobs. Details are available here (z/OS 2.3 information): https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.izua700/IZUHPINFO_API_RESTJOBS.htm The Windows Server would submit a z/OS job using this REST interface, and that z/OS job would then execute whatever program logic and ADABAS database update(s) are required, then return the result (the schedule slot). Probably what you'd do is use the z/OSMF REST interface to submit a job (and have the client check to make sure the HTTP return code is one of the return codes that indicates z/OS received the request), then use the z/OS Client Web Enablement Toolkit so that z/OS can return the result to the Windows Server (and can invoke a REST interface on the Windows Server available for that purpose). I've seen people suggest FTP and ssh paths, and they involve the same basic principle (submit a job, get a result), but I think those paths are less future proof and would involve some more work for error handling. I also have greater security concerns with those paths and think the necessary work to make these REST interfaces secure would be less onerous. Sockets are rather hard. There are hacky ways for z/OS to take action after another system places a file on a network drive (NFS) shared between that system and z/OS, but I don't like idea at least in this case. The Windows Server could have a 3270 emulator installed, such as IBM Personal Communications, which runs a macro that then makes its request and receives its response over an encrypted TN3270E connection to the "normal" 3270 application for getting a schedule slot. That's not my favorite path either. Another possible approach is to use Software AG's HTTP Server that's embedded in its Com-plete transaction processor. It's pretty basic, but it does support CGI. (I suspect Software AG was inspired by CICS Web Support.) I don't think Com-plete's HTTP Server supports HTTPS on its own, but fortunately you can (and should) use z/OS's AT-TLS to solve that problem. Here's some information on how you would set up AT-TLS with CICS Transaction Server if CICS is using HTTP (not HTTPS): https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.5.0/security/web/dfht3_attls.html The AT-TLS setup with Com-plete's HTTP Server should be quite similar. Alternatively, you could set up an IPSec tunnel between the Windows machine and z/OS. One problem with a Com-plete-based approach is that it won't work for your other customers that don't have Com-plete. It also wasn't inherently designed for application-to-application integration (as REST interfaces are), although it can be used that way in a pinch. I would think about how to avoid "double booking" and other such issues. Do they need transaction scope across both systems? Timothy Sipples IT Architect Executive, Industry Solutions, IBM Z & LinuxONE E-Mail: sipp...@sg.ibm.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [EXTERNAL] Re: zos program to supply web based client
Woohoo, I've (probably) helped one person.. I'm a community champion! – Vignesh Mainframe Infrastructure -Original Message- From: IBM Mainframe Discussion List On Behalf Of Brian Westerman Sent: 13 January 2019 08:27 To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: zos program to supply web based client Now those are really cool. I had never heard of them but I am thankful that you pointed me to them. Thanks, Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN MARKSANDSPENCER.COM Unless otherwise stated above: Marks and Spencer plc Registered Office: Waterside House 35 North Wharf Road London W2 1NW Registered No. 214436 in England and Wales. Telephone (020) 7935 4422 Facsimile (020) 7487 2670 www.marksandspencer.com Please note that electronic mail may be monitored. This e-mail is confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
Now those are really cool. I had never heard of them but I am thankful that you pointed me to them. Thanks, Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [EXTERNAL] Re: zos program to supply web based client
Brian, A simple C or C++ Socket Server, it wouldn’t be much code and you could protect it with SSL ..it could run on z/OS or Unix Systems Services. Scott On Sat, Jan 12, 2019 at 5:46 AM Steve Horein wrote: > Rexx based samples found in SEZAINST: > > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.hala001/rexx_overview_of_sample_programs_r.htm > > > On Fri, Jan 11, 2019 at 5:30 AM Sankaranarayanan, Vignesh < > vignesh.v.sankaranaraya...@marks-and-spencer.com> wrote: > > > How about a socket server with listener and workers.. ? > > No clue how straightforward it is.. > > > > – Vignesh > > Mainframe Infrastructure > > > > -Original Message- > > From: IBM Mainframe Discussion List On Behalf > > Of Brian Westerman > > Sent: 11 January 2019 08:39 > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: [EXTERNAL] Re: zos program to supply web based client > > > > The don't have CICS, that would have made this almost easy. > > > > z/OS, Adabas, Com-Plete on the mainframe, the open system server is > > Windows Server 2018, the application is looking for the "next" available > > date to schedule their task, but the "owner" of that schedule is on the > > mainframe. The "old" application would jsut go to Adabas, grab the next > > available empty schedule slot, and mark it used. The "new" application > > still needs to get that schedule "slot" from the mainframe, but does > > everything else on it's own. So they need to ask the mainframe to run a > > task that will go to Adabas, get the next avaiable slot, mark it used, > and > > pass it back to the Windows server. > > > > Brian > > > > -- > > For IBM-MAIN subscribe / signoff / archive access instructions, send > email > > to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > > MARKSANDSPENCER.COM > > > > Unless otherwise stated above: > > Marks and Spencer plc > > Registered Office: > > Waterside House > > 35 North Wharf Road > > London > > W2 1NW > > > > Registered No. 214436 in England and Wales. > > > > Telephone (020) 7935 4422 > > Facsimile (020) 7487 2670 > > > > www.marksandspencer.com > > > > Please note that electronic mail may be monitored. > > > > This e-mail is confidential. If you received it by mistake, please let us > > know and then delete it from your system; you should not copy, disclose, > or > > distribute its contents to anyone nor act in reliance on this e-mail, as > > this is prohibited and may be unlawful. > > > > -- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- Scott Ford IDMWORKS z/OS Development -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [EXTERNAL] Re: zos program to supply web based client
Rexx based samples found in SEZAINST: https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.hala001/rexx_overview_of_sample_programs_r.htm On Fri, Jan 11, 2019 at 5:30 AM Sankaranarayanan, Vignesh < vignesh.v.sankaranaraya...@marks-and-spencer.com> wrote: > How about a socket server with listener and workers.. ? > No clue how straightforward it is.. > > – Vignesh > Mainframe Infrastructure > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Brian Westerman > Sent: 11 January 2019 08:39 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: [EXTERNAL] Re: zos program to supply web based client > > The don't have CICS, that would have made this almost easy. > > z/OS, Adabas, Com-Plete on the mainframe, the open system server is > Windows Server 2018, the application is looking for the "next" available > date to schedule their task, but the "owner" of that schedule is on the > mainframe. The "old" application would jsut go to Adabas, grab the next > available empty schedule slot, and mark it used. The "new" application > still needs to get that schedule "slot" from the mainframe, but does > everything else on it's own. So they need to ask the mainframe to run a > task that will go to Adabas, get the next avaiable slot, mark it used, and > pass it back to the Windows server. > > Brian > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email > to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > MARKSANDSPENCER.COM > > Unless otherwise stated above: > Marks and Spencer plc > Registered Office: > Waterside House > 35 North Wharf Road > London > W2 1NW > > Registered No. 214436 in England and Wales. > > Telephone (020) 7935 4422 > Facsimile (020) 7487 2670 > > www.marksandspencer.com > > Please note that electronic mail may be monitored. > > This e-mail is confidential. If you received it by mistake, please let us > know and then delete it from your system; you should not copy, disclose, or > distribute its contents to anyone nor act in reliance on this e-mail, as > this is prohibited and may be unlawful. > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
If http is not a requirement, would the RSSERVER socket sample in the z/OS Communication Server be a starting point to roll their own? If http is a requirement, https://www.z-mainframe.com/zbogor-tiny-web-server might be something to look into. Another thought is to install Rocket's python port and try the SimpleHTTPserver or http.server modules (depending on the python version). From: Brian Westerman Sent: Thursday, January 10, 2019 19:02 To: IBM-MAIN@LISTSERV.UA.EDU Subject: zos program to supply web based client Hi, I have a "how can I do that" type of question. This has probably been happening for a long time, but I have not had to deal with it before now. I know that there are probably vendor written ways, but the programmers want to "roll their own method" if possible as the first choice. Maybe I'm just too close to this and I am missing something simple. I know that IBM added the web enablement toolkit to provide the ability for applications under z/OS to access data that might be on some web server out in the net to get information or data, but is there a built-in way to do this in the other direction, getting the data from the mainframe directly back to the web based application? For instance, if I'm running in a web application under windows and I need to know if some specific item was updated on z/OS and what it was updated to, is there a method or API that I can use to "ask" the mainframe to run a program that will do the check for me dynamically and pass me back the solution? The reason I ask is that we have a user group that moved "off" the mainframe but they want to be able to get a date and time from a file that is still on the mainframe. That file is updated periodically within a completely unrelated mainframe application. The entire file is huge (it's actually within an Adabas file) and they just want the two fields from one record, which needs to be processed by a specific program on the mainframe the would read the file, do the computations on the record and then pass the solution (which is basically just a date and time) back to the windows server that the user is now running on who needs that piece of information. What would be the simplest or best way to accomplish that? Thanks for your help ahead of time. Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
I like this, but there are two problems. The first is that they would need to purchase the software, the second is that it's only going to be necessary for a few months after which time they will have converted the mainframe program and file to their open systems server platform. I was hoping that the web enablement toolkit would fit, but it travels the wrong direction (can get data from the outside to the mainframe), when they need to get the data from the mainframe to the open systems server. Since it does use Adabas, maybe EntireX is the proper answer for this. Thanks for eveyone's help, Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
CICS Web Services. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Windt, W.K.F. van der (Fred) Sent: Friday, January 11, 2019 1:18 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: zos program to supply web based client Hi, The z/OS Web Enablement Toolkit does not work under CICS. So it can possible be invoked by all sorts of languages but won't work in every 'environment'. And I would think that CICS is one of the most important 'environments' where an application could run. It can be invoked in a batch job or IMS transaction. Regardz, Fred! > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of Ed Jaffe > Sent: vrijdag 11 januari 2019 3:50 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: zos program to supply web based client > > On 1/10/2019 6:02 PM, Brian Westerman wrote: > > What would be the simplest or best way to accomplish that? > > > I recommend the z/OS Web Enablement Toolkit. It works in all languages > -- even assembler. > > > -- > Phoenix Software International > Edward E. Jaffe > 831 Parkview Drive North > El Segundo, CA 90245 > https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww > .phoenixsoftware.com%2Fdata=02%7C01%7Callan.staller%40HCL.COM%7Cb > 865e12fe8af4c7d226b08d67795052d%7C189de737c93a4f5a8b686f4ca9941912%7C0 > %7C1%7C636827879274305985sdata=x1QkEnYn%2F9jUyVZ2DBRK%2Bhiy084Nnz > BpDDLc9%2BP9sd4%3Dreserved=0 > > > -- > -- This e-mail message, including any attachments, appended > messages and the information contained therein, is for the sole use of > the intended recipient(s). If you are not an intended recipient or > have otherwise received this email message in error, any use, > dissemination, distribution, review, storage or copying of this e-mail > message and the information contained therein is strictly prohibited. > If you are not an intended recipient, please contact the sender by > reply e-mail and destroy all copies of this email message and do not > otherwise utilize or retain this email message or any or all of the > information contained therein. Although this email message and any > attachments or appended messages are believed to be free of any virus > or other defect that might affect any computer system into which it is > received and opened, it is the responsibility of the recipient to > ensure that it is virus free and no responsibility is accepted by the > sender for any loss or damage arising in any way from its opening or use. > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN - ATTENTION: The information in this e-mail is confidential and only meant for the intended recipient. If you are not the intended recipient, don't use or disclose it in any way. Please let the sender know and delete the message immediately. - -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ::DISCLAIMER:: -- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error pl
Re: zos program to supply web based client
FTP or ssh would be the simplest. FTP could, if needed, be coaxed to submit a job and the remote whatever can read the job output. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Brian Westerman Sent: Thursday, January 10, 2019 9:03 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] zos program to supply web based client Hi, I have a "how can I do that" type of question. This has probably been happening for a long time, but I have not had to deal with it before now. I know that there are probably vendor written ways, but the programmers want to "roll their own method" if possible as the first choice. Maybe I'm just too close to this and I am missing something simple. I know that IBM added the web enablement toolkit to provide the ability for applications under z/OS to access data that might be on some web server out in the net to get information or data, but is there a built-in way to do this in the other direction, getting the data from the mainframe directly back to the web based application? For instance, if I'm running in a web application under windows and I need to know if some specific item was updated on z/OS and what it was updated to, is there a method or API that I can use to "ask" the mainframe to run a program that will do the check for me dynamically and pass me back the solution? The reason I ask is that we have a user group that moved "off" the mainframe but they want to be able to get a date and time from a file that is still on the mainframe. That file is updated periodically within a completely unrelated mainframe application. The entire file is huge (it's actually within an Adabas file) and they just want the two fields from one record, which needs to be processed by a specific program on the mainframe the would read the file, do the computations on the record and then pass the solution (which is basically just a date and time) back to the windows server that the user is now running on who needs that piece of information. What would be the simplest or best way to accomplish that? Thanks for your help ahead of time. Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
I saw a presentation on IBM z/OS Connect EE. Might this be an option?? (I've never used it, so only suggesting something to quickly review.) https://www.ibm.com/support/knowledgecenter/en/SS4SVW_2.0.0/com.ibm.zosconnect.doc/overview/what_is.html -Marna WALLE z/OS System Installation IBM Poughkeepsie -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [EXTERNAL] Re: zos program to supply web based client
Also zosmf, right ? On Fri, Jan 11, 2019 at 6:30 AM Sankaranarayanan, Vignesh < vignesh.v.sankaranaraya...@marks-and-spencer.com> wrote: > How about a socket server with listener and workers.. ? > No clue how straightforward it is.. > > – Vignesh > Mainframe Infrastructure > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Brian Westerman > Sent: 11 January 2019 08:39 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: [EXTERNAL] Re: zos program to supply web based client > > The don't have CICS, that would have made this almost easy. > > z/OS, Adabas, Com-Plete on the mainframe, the open system server is > Windows Server 2018, the application is looking for the "next" available > date to schedule their task, but the "owner" of that schedule is on the > mainframe. The "old" application would jsut go to Adabas, grab the next > available empty schedule slot, and mark it used. The "new" application > still needs to get that schedule "slot" from the mainframe, but does > everything else on it's own. So they need to ask the mainframe to run a > task that will go to Adabas, get the next avaiable slot, mark it used, and > pass it back to the Windows server. > > Brian > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email > to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > MARKSANDSPENCER.COM > > Unless otherwise stated above: > Marks and Spencer plc > Registered Office: > Waterside House > 35 North Wharf Road > London > W2 1NW > > Registered No. 214436 in England and Wales. > > Telephone (020) 7935 4422 > Facsimile (020) 7487 2670 > > www.marksandspencer.com > > Please note that electronic mail may be monitored. > > This e-mail is confidential. If you received it by mistake, please let us > know and then delete it from your system; you should not copy, disclose, or > distribute its contents to anyone nor act in reliance on this e-mail, as > this is prohibited and may be unlawful. > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- Scott Ford IDMWORKS z/OS Development -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [EXTERNAL] Re: zos program to supply web based client
How about a socket server with listener and workers.. ? No clue how straightforward it is.. – Vignesh Mainframe Infrastructure -Original Message- From: IBM Mainframe Discussion List On Behalf Of Brian Westerman Sent: 11 January 2019 08:39 To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: zos program to supply web based client The don't have CICS, that would have made this almost easy. z/OS, Adabas, Com-Plete on the mainframe, the open system server is Windows Server 2018, the application is looking for the "next" available date to schedule their task, but the "owner" of that schedule is on the mainframe. The "old" application would jsut go to Adabas, grab the next available empty schedule slot, and mark it used. The "new" application still needs to get that schedule "slot" from the mainframe, but does everything else on it's own. So they need to ask the mainframe to run a task that will go to Adabas, get the next avaiable slot, mark it used, and pass it back to the Windows server. Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN MARKSANDSPENCER.COM Unless otherwise stated above: Marks and Spencer plc Registered Office: Waterside House 35 North Wharf Road London W2 1NW Registered No. 214436 in England and Wales. Telephone (020) 7935 4422 Facsimile (020) 7487 2670 www.marksandspencer.com Please note that electronic mail may be monitored. This e-mail is confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
The don't have CICS, that would have made this almost easy. z/OS, Adabas, Com-Plete on the mainframe, the open system server is Windows Server 2018, the application is looking for the "next" available date to schedule their task, but the "owner" of that schedule is on the mainframe. The "old" application would jsut go to Adabas, grab the next available empty schedule slot, and mark it used. The "new" application still needs to get that schedule "slot" from the mainframe, but does everything else on it's own. So they need to ask the mainframe to run a task that will go to Adabas, get the next avaiable slot, mark it used, and pass it back to the Windows server. Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
But I had been informed that the Web enablement toolkit is for z/OS applications to act as clients, meaning that they are the ones asking for data, this application needs to work the other way around witht he mainframe application supplying the data to the outside. Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
The Software AG solutions are EntireX (I think now called webmethods) and Connx (and SQL gateway to Adabas). You could probably write Natural to talk Unix System Services sockets. Or CICS EXCI > -Original Message- > From: IBM Mainframe Discussion List On > Behalf Of Brian Westerman > Sent: Thursday, January 10, 2019 6:03 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: zos program to supply web based client > > Hi, > > I have a "how can I do that" type of question. This has probably been > happening for a long time, but I have not had to deal with it before now. I > know that there are probably vendor written ways, but the programmers > want to "roll their own method" if possible as the first choice. Maybe I'm > just > too close to this and I am missing something simple. > > I know that IBM added the web enablement toolkit to provide the ability for > applications under z/OS to access data that might be on some web server out > in the net to get information or data, but is there a built-in way to do this > in > the other direction, getting the data from the mainframe directly back to the > web based application? For instance, if I'm running in a web application > under windows and I need to know if some specific item was updated on > z/OS and what it was updated to, is there a method or API that I can use to > "ask" the mainframe to run a program that will do the check for me > dynamically and pass me back the solution? > > The reason I ask is that we have a user group that moved "off" the > mainframe but they want to be able to get a date and time from a file that is > still on the mainframe. That file is updated periodically within a completely > unrelated mainframe application. The entire file is huge (it's actually > within > an Adabas file) and they just want the two fields from one record, which > needs to be processed by a specific program on the mainframe the would > read the file, do the computations on the record and then pass the solution > (which is basically just a date and time) back to the windows server that the > user is now running on who needs that piece of information. > > What would be the simplest or best way to accomplish that? > > Thanks for your help ahead of time. > > Brian > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
Hi, The z/OS Web Enablement Toolkit does not work under CICS. So it can possible be invoked by all sorts of languages but won't work in every 'environment'. And I would think that CICS is one of the most important 'environments' where an application could run. It can be invoked in a batch job or IMS transaction. Regardz, Fred! > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of Ed Jaffe > Sent: vrijdag 11 januari 2019 3:50 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: zos program to supply web based client > > On 1/10/2019 6:02 PM, Brian Westerman wrote: > > What would be the simplest or best way to accomplish that? > > > I recommend the z/OS Web Enablement Toolkit. It works in all languages > -- even assembler. > > > -- > Phoenix Software International > Edward E. Jaffe > 831 Parkview Drive North > El Segundo, CA 90245 > https://www.phoenixsoftware.com/ > > > > This e-mail message, including any attachments, appended messages and > the > information contained therein, is for the sole use of the intended > recipient(s). If you are not an intended recipient or have otherwise > received this email message in error, any use, dissemination, distribution, > review, storage or copying of this e-mail message and the information > contained therein is strictly prohibited. If you are not an intended > recipient, please contact the sender by reply e-mail and destroy all copies > of this email message and do not otherwise utilize or retain this email > message or any or all of the information contained therein. Although this > email message and any attachments or appended messages are believed to > be > free of any virus or other defect that might affect any computer system into > which it is received and opened, it is the responsibility of the recipient > to ensure that it is virus free and no responsibility is accepted by the > sender for any loss or damage arising in any way from its opening or use. > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN - ATTENTION: The information in this e-mail is confidential and only meant for the intended recipient. If you are not the intended recipient, don't use or disclose it in any way. Please let the sender know and delete the message immediately. - -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
Hi, You can implement this with relative ease in CICS transactions that use CICS WEB statements. CICS has extensive builtin support for these kind op applications. We are implementing restful APIs that way. Regardz, Fred! > I have a "how can I do that" type of question. This has probably been > happening for a long time, but I have not had to deal with it before now. I > know that there are probably vendor written ways, but the programmers > want to "roll their own method" if possible as the first choice. Maybe I'm > just > too close to this and I am missing something simple. > > I know that IBM added the web enablement toolkit to provide the ability for > applications under z/OS to access data that might be on some web server out > in the net to get information or data, but is there a built-in way to do this > in > the other direction, getting the data from the mainframe directly back to the > web based application? For instance, if I'm running in a web application > under windows and I need to know if some specific item was updated on > z/OS and what it was updated to, is there a method or API that I can use to > "ask" the mainframe to run a program that will do the check for me > dynamically and pass me back the solution? > > The reason I ask is that we have a user group that moved "off" the > mainframe but they want to be able to get a date and time from a file that is > still on the mainframe. That file is updated periodically within a completely > unrelated mainframe application. The entire file is huge (it's actually > within > an Adabas file) and they just want the two fields from one record, which > needs to be processed by a specific program on the mainframe the would > read the file, do the computations on the record and then pass the solution > (which is basically just a date and time) back to the windows server that the > user is now running on who needs that piece of information. > > What would be the simplest or best way to accomplish that? > > Thanks for your help ahead of time. > > Brian > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN - ATTENTION: The information in this e-mail is confidential and only meant for the intended recipient. If you are not the intended recipient, don't use or disclose it in any way. Please let the sender know and delete the message immediately. - -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
Brian, do you have any more information about the program that's going to be involved in answering this query, such as programming language and run-time environment (CICS Transaction Server, for example)? The "best" answer may vary a little depending on those high-level details. Besides z/OS base and ADABAS (base license anyway), what other major software products do they currently have on z/OS, if any? Timothy Sipples IT Architect Executive, Industry Solutions, IBM Z & LinuxONE E-Mail: sipp...@sg.ibm.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
Probably not what you want, but the first thing I think of is ssh. I've written web applications running php on Linux/Windows that do things like this (if I remember correctly): exec("ssh use...@mainframe.ip some_script.sh",$out,$rc); SSH keys need to be setup on the running system, but that's not difficult. Then the script can run, do what it needs to grab the small amount of data, and echo it back. This is from the server side of the web application though - maybe you're looking for something on the browser javascript side. On 1/10/2019 6:02 PM, Brian Westerman wrote: Hi, I have a "how can I do that" type of question. This has probably been happening for a long time, but I have not had to deal with it before now. I know that there are probably vendor written ways, but the programmers want to "roll their own method" if possible as the first choice. Maybe I'm just too close to this and I am missing something simple. I know that IBM added the web enablement toolkit to provide the ability for applications under z/OS to access data that might be on some web server out in the net to get information or data, but is there a built-in way to do this in the other direction, getting the data from the mainframe directly back to the web based application? For instance, if I'm running in a web application under windows and I need to know if some specific item was updated on z/OS and what it was updated to, is there a method or API that I can use to "ask" the mainframe to run a program that will do the check for me dynamically and pass me back the solution? The reason I ask is that we have a user group that moved "off" the mainframe but they want to be able to get a date and time from a file that is still on the mainframe. That file is updated periodically within a completely unrelated mainframe application. The entire file is huge (it's actually within an Adabas file) and they just want the two fields from one record, which needs to be processed by a specific program on the mainframe the would read the file, do the computations on the record and then pass the solution (which is basically just a date and time) back to the windows server that the user is now running on who needs that piece of information. What would be the simplest or best way to accomplish that? Thanks for your help ahead of time. Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: zos program to supply web based client
On 1/10/2019 6:02 PM, Brian Westerman wrote: What would be the simplest or best way to accomplish that? I recommend the z/OS Web Enablement Toolkit. It works in all languages -- even assembler. -- Phoenix Software International Edward E. Jaffe 831 Parkview Drive North El Segundo, CA 90245 https://www.phoenixsoftware.com/ This e-mail message, including any attachments, appended messages and the information contained therein, is for the sole use of the intended recipient(s). If you are not an intended recipient or have otherwise received this email message in error, any use, dissemination, distribution, review, storage or copying of this e-mail message and the information contained therein is strictly prohibited. If you are not an intended recipient, please contact the sender by reply e-mail and destroy all copies of this email message and do not otherwise utilize or retain this email message or any or all of the information contained therein. Although this email message and any attachments or appended messages are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by the sender for any loss or damage arising in any way from its opening or use. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
zos program to supply web based client
Hi, I have a "how can I do that" type of question. This has probably been happening for a long time, but I have not had to deal with it before now. I know that there are probably vendor written ways, but the programmers want to "roll their own method" if possible as the first choice. Maybe I'm just too close to this and I am missing something simple. I know that IBM added the web enablement toolkit to provide the ability for applications under z/OS to access data that might be on some web server out in the net to get information or data, but is there a built-in way to do this in the other direction, getting the data from the mainframe directly back to the web based application? For instance, if I'm running in a web application under windows and I need to know if some specific item was updated on z/OS and what it was updated to, is there a method or API that I can use to "ask" the mainframe to run a program that will do the check for me dynamically and pass me back the solution? The reason I ask is that we have a user group that moved "off" the mainframe but they want to be able to get a date and time from a file that is still on the mainframe. That file is updated periodically within a completely unrelated mainframe application. The entire file is huge (it's actually within an Adabas file) and they just want the two fields from one record, which needs to be processed by a specific program on the mainframe the would read the file, do the computations on the record and then pass the solution (which is basically just a date and time) back to the windows server that the user is now running on who needs that piece of information. What would be the simplest or best way to accomplish that? Thanks for your help ahead of time. Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN