Hi,

this certainly isn't the first posting with this subject, but after reading
the old postings I still have a question:

As I understand, the linker allows you to use either dynamic calls or DLL
calls. You can combine the call types if you have the linker create dynamic
calls and code a DLL call yourself using the dllload C runtime library
function. There is a sample for this in the cobol enterprise programming guide:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG30/4.3.7.3?SHELF=&DT=20050628164603&CASE=

But 4.3.7.2 Calling DLLs from non-DLLs
(http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG30/4.3.7.2?SHELF=&DT=20050628164603)
also speaks about combining a dynamic (NODLL) program (A) and a DLL program
(B) into one load module and have A call statically B. I assume A can make
dynamic calls to other load modules and B can make DLL calls to DLLs.

So, my question is, how do you build the load module containing A+B ?
Especially, how do you build it under Unix using cob2? (Coming from a Unix
background I have been writing and porting C++ under USS for about a year,
but still haven't touched TSO/MVS/JCL and hope to continue avoiding it ;-).

Thanks,
Jürgen

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to