IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Flush a queue in CICS


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Balaji Krishnamurthy

New User


Joined: 26 Feb 2008
Posts: 20
Location: chennai

PostPosted: Wed Aug 19, 2009 10:58 pm
Reply with quote

I have a Queue name. I need to flush all messages from that queue.
Is there any CICS transactions to do this?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 19, 2009 11:13 pm
Reply with quote

Is this a TDQ or a TSQ?

If it's a TDQ, is it INTRAPARTITION or EXTRAPARTITION?

Bill
Back to top
View user's profile Send private message
Balaji Krishnamurthy

New User


Joined: 26 Feb 2008
Posts: 20
Location: chennai

PostPosted: Wed Aug 19, 2009 11:17 pm
Reply with quote

It's a TSQ
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 19, 2009 11:20 pm
Reply with quote

If it's a TSQ, you can issue a DELETEQ TS command.

You can't delete individual records (ITEMS) or all records from a TSQ and still retain the Queue.

Bill
Back to top
View user's profile Send private message
tomehta

New User


Joined: 18 Aug 2008
Posts: 98
Location: India

PostPosted: Thu Aug 20, 2009 6:03 pm
Reply with quote

Also you can try
CEBR <TSQ Name>

after that on the command line

PURGE


regards
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top