• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Java and Cobol.

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai,
I know we can talk to a cobol program from a Java Program. But is it possible to talk to a java program from a cobol porgram?
Please let me know abt this.
Thanks and Regards,
Soumya.
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by "talk to"? They can certainly pass information to each other via files or databases. Certainly Cobol can put out XML formatted files that can be used by Web pages and processed by Java functionality.
Are you asking if you can "invoke" a java program from a Cobol program? Or call an Java Program and get a return value??
 
Soumya Devabhaktuni
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai cindy,
Thank U for the reply.
Yes I want to invoke a Java program from a cobol Program. Let me know if this is possible. The platform is OS/390.
Regards,
Soumya.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am curious too.
I need to have Java and Cobol shake hands, if not any more.
To be precise: I wonder how to invoke Java methods from Cobol.
And the scenic routes like invoking applet/servlet/jsp pages are gonna be too cumbersome.
So, how can we:
1) Declare a java object in a Cobol Program ?
2) Invoke a method on that object from that very program ?
Ideal case would be to communicate across TCP/IP thru some SNA/TCP-IP gateway (like via using REXX), but as the first step, we can throw that complication out.
I am reading up on Enterprise Cobol; hopefully someone over here has already charted those waters
Thanks in advance.
 
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Cut Nase",
Welcome to JavaRanch!
We don't have many rules here at JavaRanch, but we do have one. Please change your display name to comply with The JavaRanch Naming Policy. (We are looking for names that are not obviously fictitious.)
Thanks Pardner!
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have a good IBM rep? I recall seeing that they had ECI or some similar protocol from CICS to an OS/390 Linux partition.
You might look at MQ-Series, too. It's probably overkill if you have two partitions on the same machine, but maybe not. We use it heavily between mainframe CICS and servers and workstations coded in multiple languages.
 
There's a way to do it better - find it. -Edison. A better tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic