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
 
Need an opinion on the approach that we have planned to opt.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
vaibhav gs

New User


Joined: 05 Apr 2018
Posts: 15
Location: INDIA

PostPosted: Wed May 02, 2018 4:45 pm    Post subject: Need an opinion on the approach that we have planned to opt.
Reply with quote

Hi, we are currently working on a requirement to replace an existing mainframe screen with a webpage without interruption of underlying business logics. No tools are provided in this regards. We are also not planning to use any IMS/CICS regions for this activity.
We have gone through many approaches and many were ruled out as they need some tools/ CICS/ IMS regions to be procured.

With the knowledge that we have, we have come up with a plan. Can you please check the attached flow diagram and give your opinion on the feasibility of the same.

Please note that this is for Online mainframe screen migration to a web page.

Open to learn and get my understandings correct wherever applicable.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


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

PostPosted: Wed May 02, 2018 6:50 pm    Post subject: Reply to: Need an opinion on the approach that we have planned to opt.
Reply with quote

It is not unusual for mainframe CICS programs to have business logic embedded (for validating data fields, for example) built into the code. Your approach seems to ignore this possibility.
Back to top
View user's profile Send private message
vaibhav gs

New User


Joined: 05 Apr 2018
Posts: 15
Location: INDIA

PostPosted: Wed May 02, 2018 7:47 pm    Post subject:
Reply with quote

True Robert, i do agree with you.
But my basic underlying rule is not to use any CICS/ IMS regions to perform this. Hence we have ignored this possibility with CICS/IMS.

Sorry, feel free to correct me if my understanding on your statement is wrong.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed May 02, 2018 7:51 pm    Post subject:
Reply with quote

What is the current mainframe screen using?
Back to top
View user's profile Send private message
vaibhav gs

New User


Joined: 05 Apr 2018
Posts: 15
Location: INDIA

PostPosted: Wed May 02, 2018 8:58 pm    Post subject:
Reply with quote

Current mainframe screen is using IMS region and COBOL code.
We are planning to move to web based screen.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed May 02, 2018 9:03 pm    Post subject:
Reply with quote

So is there any business logic in the COBOL code (such as screen validation of input data)? If so, how are you going to replicate that with the web page / Java code? That logic would not be in the batch programs so if you don't capture it in the web page / Java code, you will be losing functionality by converting.
Back to top
View user's profile Send private message
vaibhav gs

New User


Joined: 05 Apr 2018
Posts: 15
Location: INDIA

PostPosted: Wed May 02, 2018 9:19 pm    Post subject:
Reply with quote

Yes Robert true, we are planning to handle it for now but try to think of screen functionalities later point of time.

Apart from that can you please tell me if this approach sounds good or weird

Thanks for your time.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2114
Location: Silicon Valley

PostPosted: Wed May 02, 2018 9:31 pm    Post subject: Reply to: Need an opinion on the approach that we have planned to opt.
Reply with quote

I do not understand the JCL part... are you going to submit a job and somehow wait for it to complete? I think the asynchronous aspect is a weakness in the design.

Rather than have REXX submit a job and wait for it, I think the rexx should allocate whatever files are needed and use CALL command to call the COBOL program.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2016
Location: NY,USA

PostPosted: Wed May 02, 2018 10:13 pm    Post subject:
Reply with quote

Quote:
Hi, we are currently working on a requirement to replace an existing mainframe screen with a webpage without interruption of underlying business logics. No tools are provided in this regards. We are also not planning to use any IMS/CICS regions for this activity.
We have gone through many approaches and many were ruled out as they need some tools/ CICS/ IMS regions to be procured.
This is usually done for real-time work unless you are currently kicking off any batch jobs through this , are you?
You can call a SP from your Web application and then Batch jobs still can be triggered.
Look for more options here as how to do so.
Back to top
View user's profile Send private message
Gary Jacek

New User


Joined: 17 Dec 2007
Posts: 57
Location: Victoria, BC, Canada

PostPosted: Thu May 03, 2018 4:26 am    Post subject:
Reply with quote

You mention CICS and IMS, but your diagram shows only DB2 as a data store for a REXX stored procedure.

Does the COBOL program currently interact with IMS databases or other DB2 tables?

If applicable, is the IMS database managed by an IMS Control Region?
This could very much complicate direct access to the data.

If the COBOL program currently runs in IMS message processing regions, have you considered publishing it as a service, for consumption by your web page server? This would retain the existing business logic in the COBOL program and the IMS control region would handle the database access, logging, lock management and data recoverability.

Have a look at IMS Explorer for Development (free tooling) to see if this fits your requirement.



Back to top
View user's profile Send private message
Gary Jacek

New User


Joined: 17 Dec 2007
Posts: 57
Location: Victoria, BC, Canada

PostPosted: Thu May 03, 2018 4:29 am    Post subject:
Reply with quote

Two attempts to paste a URL for E4D here have failed.
So use that famous search engine called G**gle and search for "how to publish ims transaction as a service".

Good luck.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1614
Location: Oregon

PostPosted: Fri May 04, 2018 12:54 am    Post subject:
Reply with quote

You can probably replace the first 3 blocks with IBM HTTP server running on Mainframe and use CGI scripts to execute REXX/JCL etc.. and return back the results to web page.

IBM HTTP Server ---> CGI scripts --> REXX/JCL

It does the same thing as the first 3 blocks, but the advantage is your application would reside completely on Mainframe without external server requirement and the complexity in interfacing it.
Back to top
View user's profile Send private message
vaibhav gs

New User


Joined: 05 Apr 2018
Posts: 15
Location: INDIA

PostPosted: Thu May 17, 2018 8:42 pm    Post subject: Re: Reply to: Need an opinion on the approach that we have planned to opt.
Reply with quote

Pedro wrote:
I do not understand the JCL part... are you going to submit a job and somehow wait for it to complete? I think the asynchronous aspect is a weakness in the design.

Rather than have REXX submit a job and wait for it, I think the rexx should allocate whatever files are needed and use CALL command to call the COBOL program.


True Pedro, I was also considering this but due to the number of teams that use my application, this async operation did not bother us a lot.


Thanks much for your time and will keep you posted on any fruitful outcome. Cheers!
Back to top
View user's profile Send private message
vaibhav gs

New User


Joined: 05 Apr 2018
Posts: 15
Location: INDIA

PostPosted: Thu May 17, 2018 8:44 pm    Post subject:
Reply with quote

Rohit Umarjikar wrote:
Quote:
Hi, we are currently working on a requirement to replace an existing mainframe screen with a webpage without interruption of underlying business logics. No tools are provided in this regards. We are also not planning to use any IMS/CICS regions for this activity.
We have gone through many approaches and many were ruled out as they need some tools/ CICS/ IMS regions to be procured.
This is usually done for real-time work unless you are currently kicking off any batch jobs through this , are you?
You can call a SP from your Web application and then Batch jobs still can be triggered.
Look for more options here as how to do so.


Yes Rohit true for real time access but users are internal business team.
Sure will read the links and will let you know if any fruitful outcome from it.
Thanks for your time.
Cheers!
Back to top
View user's profile Send private message
vaibhav gs

New User


Joined: 05 Apr 2018
Posts: 15
Location: INDIA

PostPosted: Thu May 17, 2018 8:48 pm    Post subject:
Reply with quote

Gary Jacek wrote:
You mention CICS and IMS, but your diagram shows only DB2 as a data store for a REXX stored procedure.

Does the COBOL program currently interact with IMS databases or other DB2 tables?

If applicable, is the IMS database managed by an IMS Control Region?
This could very much complicate direct access to the data.

If the COBOL program currently runs in IMS message processing regions, have you considered publishing it as a service, for consumption by your web page server? This would retain the existing business logic in the COBOL program and the IMS control region would handle the database access, logging, lock management and data recoverability.

Have a look at IMS Explorer for Development (free tooling) to see if this fits your requirement.





Yes, COBOL program access few DB2 tables for fetching and saving some part of information. But not IMS databases, thanking god for that icon_smile.gif lol

This is completely new to me "publishing the service" and it sounds good. Will have to go through the links that you have given and will try to make it useful to us.

Thanks for suggesting this approach, cheers!
Back to top
View user's profile Send private message
vaibhav gs

New User


Joined: 05 Apr 2018
Posts: 15
Location: INDIA

PostPosted: Thu May 17, 2018 8:51 pm    Post subject:
Reply with quote

vasanthz wrote:
You can probably replace the first 3 blocks with IBM HTTP server running on Mainframe and use CGI scripts to execute REXX/JCL etc.. and return back the results to web page.

IBM HTTP Server ---> CGI scripts --> REXX/JCL

It does the same thing as the first 3 blocks, but the advantage is your application would reside completely on Mainframe without external server requirement and the complexity in interfacing it.


Hi Vasanthz, the first suggestion that was given by one of our expertforum experts is the "CGI".
But I am still not able to get full picture on how to make it as working model. I still agree this is very useful solution but could not proceed much further without a right direction.

Feel free to suggest me with any article that would have helped you to assimilate the knowledge about CGI scripts.
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need better approach to create a sort... Vamshi Veludandi DFSORT/ICETOOL 8 Thu Mar 08, 2018 5:59 pm
No new posts DISP=(SHR,PASS) performance opinion steve-myers JCL & VSAM 1 Wed Dec 02, 2015 11:53 pm
No new posts Introducing Commits to batch programs... Div Grad DB2 10 Tue Apr 07, 2015 7:45 pm
No new posts Need help on Best approach for IMS Ke... Kiran.Kumar IMS DB/DC 1 Tue Mar 31, 2015 6:41 am
No new posts Coding Approach Bill Woodger All Other Mainframe Topics 7 Fri Jun 10, 2011 4:22 am

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