1

I have a mainframe with z/os. And I have IMS as user interface (The green screens)

Now the requirement is to show the UI in web front end.

So, I have to trigger the transaction in mainframe from out sources and the output should be shown in web front end. Is there any possible solution for this ? Its better If I can get sample program as well.

JoshMc
  • 10,239
  • 2
  • 19
  • 38
  • [COBOL on COGS](http://www.coboloncogs.org/INDEX.HTM). – Elliott Frisch May 02 '17 at 01:32
  • So, you want a web front end that performs mainframe tasks? That is possible, while I don't have any code for you, you can have the web interface do CICS calls. Based on the input passed in the CICS commarea, you could perform whatever action you want. – SaggingRufus May 02 '17 at 10:50
  • And you can have the COBOL program do an `EXEC CICS RETURN` so get the information back to the web interface – SaggingRufus May 02 '17 at 10:52
  • 1
    Yes. Google is your friend. http://www-03.ibm.com/software/products/en/imsentesuitsoapgate – cschneid May 02 '17 at 13:41
  • You must do some coding but it might help you. See https://github.com/rufiao/f3270 if you want to use java. Personally I prefer this: https://github.com/level12/py3270 – bitfhacker May 02 '17 at 21:12
  • CICS or IMS/DC? – zarchasmpgmr May 03 '17 at 04:24

1 Answers1

1

You have a couple options here. The green screen interfaces you're referring to is the IMS Message Format Service (MFS) which will take the green screen inputs and map them to the inputs for an IMS transaction.

The easiest solution which requires paid tooling would be the IMS MFS SOA solution. This will take the green screen interface files (MFS maps) and generate an equivalent servlet for you that you can apply a CSS style sheet too and deploy into a Java application server.

If you would prefer to have more flexibility in how you design your web front end, then you can take advantage of a few other IMS solutions that basically invoke an IMS transaction remotely through TCP/IP and incorporate that into your web application code:

  1. z/OS Connect - IBM's REST gateway for most z/OS assets. This will allow you to invoke IMS transactions, CICS transactions, and Db2 stored procedures as a REST service.
  2. IMS SOAP Gateway - This will allow you to invoke an IMS transaction as a SOAP service. I wouldn't recommend it however as IMS has stabilized the product meaning there will be no new enhancements.
  3. IMS TM Resource Adapter - This is a fairly straightforward API that's meant for JEE deployment. It takes advantage of the security and connection pooling features you would expect of a JEE resource adapter.
  4. IMS Connect API for Java - This is a bare bones Java API. You'll be responsible for constructing the input payloads and interpreting the output of the IMS transactions.
Richard Tran
  • 438
  • 3
  • 10