Posted: Tue Jul 26, 2005 5:19 am Post subject: AS400 : API EXIT ISSUE ..... ......
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 :
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 .
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.
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