deepeshk79 Beginner
Joined: 20 Jun 2003 Posts: 112 Topics: 48 Location: Bangalore
|
Posted: Tue Jun 19, 2007 8:50 am Post subject: MQGET 2019 error in CICS |
|
|
Hi,
I was trying for an MQGET in CICS and I'm getting 2019 (invalid hobj error). The case is like this...
Quote: |
Logic
=========
1. Check for eibcalen = 0
2. If first time, then MQOPEN, throw the screen and then CICS Return with trnid--> this is working fine, i can see the screen
3. Next time, on enter key I'm trying MQGET and it gives me 2019.
|
If I change the Logic as below, it works fine
============================
Quote: |
1. Check for eibcalen = 0
2. If first time, then MQOPEN, then MQGET, show the screen and then CICS Return with trnid--> this is working fine
|
This means that when i do a return and comeback i'm losing my values of MQOPEN and so object not found error : 2019.
I tried saving all the MQOD parameters, OPN-CONN parameters in DFHCOMMAREA and then use them in my next iteration. But still it doesnt seem to work.
I'm losing my MQOPEN stuff by the time i try my MQGET... how should i change the logic ...
Any thoughts ?
Thanks,
Deepesh |
|