Hi,
If you have access to any compiler that is able to create Windows 3.1 (or higher) programs (e.g. Borland C++ 3.x , 4.x - could/should be available as CD for about
10 US-$ in the shops by now ; 25 $ years ago) and if you know or request the background of the 2 communication functions of your Cobol generated DLLs
 
int FAR PASCAL LibMain( HINSTANCE hInstance, WORD wDataSegment, WORD wHeapSize, LPSTR lpszCmdLine ) // called to start DLL and pass data
and
int FAR PASCAL WEP ( int bSystemExit ) // the end procedure
 
then you can write a small .exe program that loads and calls the DLLs and is itself called and fed with data or a reference to a data object/file by your
Java environment via
Runtime.getRuntime().exec("yourprogram.exe");
(discussed in the list before)
 
sincerely,
U. Penski
----- Original Message -----
To: JDJList
Sent: Tuesday, November 12, 2002 4:57 PM
Subject: [jdjlist] How to call a Fujitsu COBOL from JSP/Servlets?

Hi all!
 
I am working in a new project, that use DLL�s made with Fujitsu COBOL, but it�s necesary a new graphic interface with Java using JSP and Servlet.
 
Does anyone know how to make this link?
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to