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

Ways to share data between Cobol and Java


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu May 10, 2018 9:20 pm
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

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Thu May 10, 2018 9:56 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top