• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mainframe copybook to Java Objects  RSS feed

 
Suvoraj Biswas
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me how to convert mainframe copybook to java objects?
Is there any tutorial out there for doing so or any library?
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java doesn't have a mechanism to directly import native libraries. The best you can do is to get to C/C++, which in turn, has access to the native library -- so you would need to write some sort of wrapper library.

This is done by JNI (Java Native Interface), and will only get you to C/C++. If you need to get to another language, say COBOL, you will need to rely on the C mechanism to get to the COBOL library.

Henry
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forgot to mention. You may want to check with google too. There may be a third party library that does what you want. It's amazing what you can buy these days.

Henry
 
Suvoraj Biswas
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Henry for your quick response. After googling I found this library: http://www.dnzone.com/ShowDetail.asp?NewsId=1071
Don't have any idead if it is good or not, I need to do some small project to test this. Please let me know if you've used such library before.
Thanks in advance.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!