Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How Inquire if a resource is in ENQ status

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
hariharan_82

New User


Joined: 18 Apr 2007
Posts: 23
Location: Chennai

PostPosted: Fri Oct 07, 2011 7:13 am    Post subject: How Inquire if a resource is in ENQ status
Reply with quote

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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Oct 07, 2011 7:29 am    Post subject:
Reply with quote

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
View user's profile Send private message
hariharan_82

New User


Joined: 18 Apr 2007
Posts: 23
Location: Chennai

PostPosted: Fri Oct 07, 2011 7:42 am    Post subject:
Reply with quote

Thanks Robert. Will try and check with my CICS support
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Limit CICS CPU resource vasanthz CICS 0 Tue Jan 31, 2017 7:09 am
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts How to resolve IMS DB status code FM Priyanka Boga IMS DB/DC 3 Fri Jun 10, 2016 1:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us