Accessing IBM MQ via a batch job running on an iASP

325 pts.
Tags:
AS 400
Database
IBM i
IBM MQ
I have an IBM i batch job BATCH1 that is running under a user profile PRF1 with an independent ASP IASP1 defined in the job description JOBD1 used by PRF1. BATCH1 is running under commitment control, *JOB scoped. I have a queue manager configured in *SYSBAS (QMGR library in *SYSBAS). I am getting RC2072 when the batch job does an MQGET to the queue of the queue manager. I tried moving the queue manager and its IFS data to the iASP, I followed this as a reference. https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20-%20Migration%20to%20an%20iASP%20environment/page/Migrating%20WebsphereMQ%20Queue%20Manager%20to%20an%20IASP Restarted the queue manager and the subsystem where the batch job is called from. Still getting RC2072. https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_8.0.0/com.ibm.mq.tro.doc/q041400_.htm Do you guys have any pointers as to what additional items i need to check? How do i know that the queue manager and its queues are now accessible by the batch job with commitment control? How do i know that the symbolic link i created for the IFS folder is successfully read by the queue manager? When I run the BATCH1 job with commitment control switched off, I don't get any RC2072 and I'm able to MQGET the messages successfully and process them. So looks like a commitment control scope issue, since the BATCH1 job is running in the iASP database? Any input are much appreciated. Thank you in advance.


Software/Hardware used:
IBM i 7.2, iASP, IBM MQ 8.0
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: