ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » AS400 : API EXIT ISSUE ..... ......

Post new topic  Reply to topic
 AS400 : API EXIT ISSUE ..... ...... « View previous topic :: View next topic » 
Author Message
In_love_with_MQ
PostPosted: Tue Jul 26, 2005 5:19 am    Post subject: AS400 : API EXIT ISSUE ..... ...... Reply with quote

Acolyte

Joined: 10 Jul 2005
Posts: 70

I had been trying to compile an api exit ( sample Mirror q , the amqsaxe0 sample or the developed api exit) .All of them fails when the Qm is started with following errors .


*************************************************************

Message . . . . : The module for API Exit 'MIRRORQ' could not be loaded.
Cause . . . . . : The module 'QGPL/MIRRORQ_r' for API Exit 'MIRRORQ' could
not be loaded for reason xecU_E_ERROR_IN_DLL.
Recovery . . . : Correct the problem with the API Exit module 'MIRRORQ'.

*************************************************************

*************************************************************

Message . . . . : The module for API Exit 'AMQSAXE0' could not be loaded.
Cause . . . . . : The module 'QGPL/AMQSAXE0_r' for API Exit 'AMQSAXE0' could
not be loaded for reason xecU_S_LOAD_FAILED.
Recovery . . . : Correct the problem with the API Exit module 'AMQSAXE0'.
*************************************************************

The steps followed is same as mentioned in the Prog Guide :


1)
CRTCMOD MODULE(QGPL/MIRRORQ) SRCFILE(QGPL/QCSRC1) SRCMBR(MIRRORQ) TERASPAC
E(*YES *TSIFC)

Module MIRRORQ was created in library QGPL on 26/07/05 at 14:12:02.



2)

CRTSRVPGM SRVPGM(QGPL/MIRRORQ) MODULE(QGPL/MIRRORQ) EXPORT(*ALL) BNDSRVPGM
(QMQM/LIBMQM_R QMQM/LIBMQMZF_R)

Service program MIRRORQ created in library QGPL.


The error shown above happens when the QM is started with the proper entries in QM.INI as follows

ApiExitLocal:
Name=MIRRORQ
Sequence=2
Function=EntryPoint
Module=QGPL/MIRRORQ
Data = TEST



1) If anybody has compiled on as400 and made the api work please suggest them .


2) The compiler used is the default IBM ILE which comes in with as400 .
Is the Build proper like usually a .DEF file is mentioned during compilation in other platforms (mirror.def) .

Is this needed in AS400 .If so where to Mention them during compilation .

Is EXPORT(*ALL) FINE ..


Waiting for answer from somebody .

regards,
In_love_with_MQ
Back to top
View user's profile Send private message
In_love_with_MQ
PostPosted: Tue Jul 26, 2005 6:38 am    Post subject: Reply with quote

Acolyte

Joined: 10 Jul 2005
Posts: 70

Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jul 26, 2005 6:42 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

In_love_with_MQ wrote:


Particularly for a complicated question like "how to compile an exit" and for a relatively rare and relatively complicated platform like AS400... it's not unreasonable to have to wait a day or two for an answer - particularly when all answers are being given by volunteers.

I don't know AS400, so I can't help really. But check the APG for how to compile and build programs on As400, and see if the mirrorq program includes instructions for the same. And then apply basic troubleshooting practices... does the compilation step complete successfully or give errors? If it gives errors, do you understand them and can fix them? Is the output of the compilation step the right thing? did you copy the output file into the same place you told MQ it would be? Are the permissions correct on that file for MQ to access it?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » AS400 : API EXIT ISSUE ..... ......
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.