Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling a COBOL executable from VB.NET

Status
Not open for further replies.

Kyle42

Programmer
Jan 22, 2007
4
US
I've been given the task of rewriting a small portion of our large COBOL system in VB.NET. The code that I'm rewriting happens to call a subroutine that makes massive calculations. I'd prefer not to have to rewrite that entire subroutine as well. I have the subroutine's .cbl file, as well as an EXE and an associated DLL. I know from the code I'm rewriting and the sub's .cbl file what input and output parameters I need, but I have no idea how to pass/receive them. I know almost no COBOL and have a boss who thinks this should be the easiest task in the world. Please help me.
 
Truusvlugindewind, could you please point me in the right direction of a decent tutorial/example/reference of how to do this? You say it like it's common knowledge, but I have no knowledge of COBOL and very little of .NET
 
Do I NEED Net Express in order to integrate the two?
 
Not so hard to find:
I've seen demo's. Despite the fact that I am personal not such a great fan of MS products, this was really impressive. You need Net Express and a plugin. With that plugin you can code & compile cobol in the MS Visual productrange. This is still optional, you can choose for the "traditional" Net Express environment as well (how time flies, in my feeling "traditional means the workbench).
Later releases will drop their own IDE and intergration with MS Visual will be the only option (yes, even when you run server express on *nix) .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top