Peter, Did you supply the DLL compiler option? Usually, it's better to just include the DLL side file (/usr/lib/iewbndd.x) rather than trying to write all these yourself. Remember at runtime, you must set LIBPATH to be able to find the DLL.
Farley, Peter x23353 wrote: > > I do not want to mix XPLINK and non-XPLINK code, I want to write non-XPLINK C > code to use the non-XPLINK shared-object API subroutines. IBM supplies both > an XPLINK shared-object file (iewbnddx.so) AND a non-XPLINK shared-object > file (iewbndd.so). IBM provides sample JCL showing how to use only the > XPLINK shared-object file. > > Peter > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf > Of Miklos Szigetvari > Sent: Wednesday, July 13, 2011 5:49 AM > To: [email protected] > Subject: Re: HOWTO question: Linking non-XPLINK C with a shared object (.so) > library > > Hi > > Don't understand why do you want to link together XPLINK and NON XPLINK > code, and not call the DLL. > The boundary for XPLINK NON XPLINK code is a DLL, so a DLL is XPLINK or not. > In SHARE there was a number of very good presentations about the DLL's > and XPLINK > -- -- Don Poitras - zSeries R & D - SAS Institute Inc. - SAS Campus Drive mailto:[email protected] (919)531-5637 Fax:677-4444 Cary, NC 27513 ---------------------------------------------------------------------- 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

