Thanks, Kerry! I'll give this a try tomorrow. -----Original Message----- From: Kerry Swemmer [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2003 3:14 AM To: [EMAIL PROTECTED] Subject: Re: Compiling exits on HPUX
Hi T.Rob, I use a makefile and issue the command make -f makefilename and the makefile contents are as follows (SMQ is for MQSeries Link for R/3):- MQMHOME = /opt/mqm MQMINC = /opt/mqm/inc SMQHOME = /opt/smq SMQINC = /opt/smq/include SMQBIN = /opt/smq/bin SMQLIB = mqm SMQDIR = /opt/smq/lib LIBDIR = /usr/lib Exit.o: Exit.c cc +DAportable -c -Ae +Z -I $(SMQINC) -I $(MQMINC) Exit.c ld -o Exit Exit.o -b +I MQStart -L $(LIBDIR) -lc rm *.o Cheers, Kerry Swemmer T-Systems South Africa (Pty) Ltd Senior Database Administrator Computing Services - TechSupport Address: 7 Settlers Way, Gately Township, East London Postal address: P.O. Box 671, East London 5200 Phone: +27 (0) 43 706 2549 Fax: +27 (0) 43 706 2085 Mobile: +27 (0) 83 657 4151 E-mail: [EMAIL PROTECTED] Internet: www.t-systems.co.za -----Original Message----- From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Wyatt, T. Rob Sent: 05 December 2003 19:36 To: [EMAIL PROTECTED] Subject: Compiling exits on HPUX The manual says that to compile an exit on HPUX, use these commands: $ c89 -c +z +e exit.c $ ld -o exit exit.o +b : -c exit.exp +IMQStart +eMQStart -b Problem is that the -c parm means to read ld options from a file. IBM listed a file "exit.exp" but not the contents of the file. I can compile and link my exit with no errors but MQ complains that it is not a valid exit. The exact same code compiles and runs on Solaris OK. Does anybody have a known working compile/link command for exits (not executables) on HPUX? Any suggestions? Thanks in advance -- T.Rob Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Any views expressed in this message are those of the individual sender, and T-Systems South Africa (Pty) Ltd accepts no liability therefore, except where the sender specifically states them to be those of T-Systems South Africa (Pty) Ltd. Although this message has been scanned for the possible presence of computer viruses prior to despatch, T-Systems South Africa (Pty) Ltd cannot be held responsible for any viruses or other material transmitted with, or as part of, this message. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive