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.
Restarted the queue manager and the subsystem where the batch job is called from. Still getting RC2072.
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
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!