View previous topic :: View next topic
|
Author |
Message |
hariharan_82
New User
Joined: 18 Apr 2007 Posts: 23 Location: Chennai
|
|
|
|
Hi All,
I have transaction ABCD which invokes program A. I ENQ program A until processing is completed. Incase there is an error with the processing, the erroneous messages are PUT into an MQ.
Now I have another transaction EFGH which would invoke program A if there is any message in the error queue.
I want to invoke transaction EFGH only if program A is NOT enqueued by transaction ABCD. I need to know the syntax for executing INQUIRE ENQ from CICS program. Please help me with the syntax.
Thanks,
Hariharan |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
EXEC CICS INQUIRE ENQ is not found in the CICS Application Programming Reference or Guide manuals. The fact that it is only found in the Systems Programming Reference manual should tell you that (a) the command might not work the way you think it works, and (b) you might not want to use it. Since you obviously have no clue about how the enqueue and dequeue processes work, I strongly recommend you work with your site support staff to identify exactly what you are attempting to accomplish and find the best way to do it. It does not sound like the approach you are taking is very viable. |
|
Back to top |
|
|
hariharan_82
New User
Joined: 18 Apr 2007 Posts: 23 Location: Chennai
|
|
|
|
Thanks Robert. Will try and check with my CICS support |
|
Back to top |
|
|
|