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
 
Ways to share data between Cobol and Java

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
Benchwarmer

New User


Joined: 16 Jul 2016
Posts: 22
Location: desk

PostPosted: Thu May 10, 2018 9:16 pm    Post subject: Ways to share data between Cobol and Java
Reply with quote

Our shop is exploring options to share DB2 data between COBOL and JAVA. Couple of ways I can think of is

1. COBOL Stored procedure
2. Build JAVA class and call from COBOL

Are there any other ways? Any books I can refer to ? Any industry wide standards ?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


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

PostPosted: Thu May 10, 2018 9:20 pm    Post subject: Reply to: Ways to share data between Cobol and Java
Reply with quote

Google is your friend. Googling share db2 data between cobol and java returns about 1,600,000 results and several on the first page of results provide methods that you haven't touched upon.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


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

PostPosted: Thu May 10, 2018 9:56 pm    Post subject:
Reply with quote

Use CICS-MQ
Use CICS Web Services
Query DB2 Directly using DB2 JDBC Drivers from Java.

and could be many more as suggested above.
Back to top
View user's profile Send private message
Benchwarmer

New User


Joined: 16 Jul 2016
Posts: 22
Location: desk

PostPosted: Fri May 11, 2018 12:08 am    Post subject:
Reply with quote

Thank you both for providing your valuable inputs.
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 -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Array in Cobol Db2 Stored Procedure Ashishpanpaliya DB2 4 Wed Jan 09, 2019 3:06 pm
No new posts MQ-DATA-LENGTH is ZERO on MQGET Daniel Prosser Java & MQSeries 5 Tue Dec 18, 2018 5:41 pm
No new posts COBOL D2 program execution without us... dipsybaby DB2 3 Mon Dec 10, 2018 2:08 pm
No new posts To get the count of PDS data sets whi... Vignesh Sid JCL & VSAM 4 Fri Nov 30, 2018 8:38 pm
No new posts calling java code(on mainframe from c... elixir1986 COBOL Programming 1 Fri Nov 30, 2018 1:57 am

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