Ho to clear a MQ queue :


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Ho to clear a MQ queue :
# 1  
Old 05-07-2009
Ho to clear a MQ queue :

Hi All,

Can anyone tell me how to clear list of queues in a file?

My file FILE1 has 3 queues

FILE1

FirstQueue
SecondQueue
ThirdQueue

I want to clear all these queues which belong to the same Qmanager from another script...

Can anyone help me for this..

Thanks in advance...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Help with clear printer queue script in AIX 5.3

Good day UNIX forum, could you help me with my clear printer queue script, i have problems with the consistency of this function, sometimes it works sometimes it doesn't. Thanks in advance } preRemovePrintQ(){ clear; echo; echo... (1 Reply)
Discussion started by: beware187
1 Replies

2. AIX

Clear wtmp

Hello, Is there a difference between the following commands besides consider the file permissions? /usr/sbin/acct/nulladm /var/adm/wtmp >/var/adm/wtmp cat /dev/null >/var/adm/wtmp Today I tried the second command and it worked... (2 Replies)
Discussion started by: x_adm
2 Replies

3. HP-UX

how to clear particular port

Hi Everyone, How to check the status of the particular port and also clear it if it is locked without reboot? Please suggest. Thank you. (6 Replies)
Discussion started by: laxmikant
6 Replies

4. Shell Programming and Scripting

How to clear a file

Hello, I have a script which creates a certain text file. Whenever I call it, I need to recreate this file, because I have no need in the previous content. So I thought to remove the file every time I call the script, and that way I am sure that the previous content will not interrupt me.... (2 Replies)
Discussion started by: shira
2 Replies

5. UNIX for Dummies Questions & Answers

how to clear history

Hi... i have one doubt pls... 1)can we clear the command line history in UNIX for a paricular login(scadm/root)if so how?. 2) can we see the time at which command executed. history is showing like : 100 display 101 lock 102 exit (7 Replies)
Discussion started by: gincemathew
7 Replies

6. Programming

clear screen in g++

How do I clear screen in g++ I've included curses and tried compile with lcurses as per gcc but fails, I can clear by using system("clear") but would prefer to use the curses library if possible. (2 Replies)
Discussion started by: gefa
2 Replies

7. UNIX for Dummies Questions & Answers

Clear confusion

Hi, In some machines when i type "clear" it completely clears all the contents on that window but on some it simply scrolls up all the content. How can i change this? (4 Replies)
Discussion started by: vibhor_agarwali
4 Replies

8. UNIX for Dummies Questions & Answers

Please help me clear up some confusion

Hello All, I like this forum btw, and have only been lurking for about a day. Recently I purchased some new hardware (AMD Athlon 64 3200+ and a Asus K8V Deluxe Motherboard), and I want to find an OS that can take advantage of the 64 bit processor. Basically, what are the differences... (2 Replies)
Discussion started by: RoY_mUnSoN
2 Replies

9. UNIX Desktop Questions & Answers

clear console

is there any way i can make my console clear? ive found out how to make it so i can see throught it, but all i get is the desktop.... i wanna be able to read a text document which i have open behind the console.... this is in kde3.1 (3 Replies)
Discussion started by: punk000
3 Replies

10. UNIX for Dummies Questions & Answers

clear memory

Hi... how can i clear the Memory on AIX 4.3.3 without rebooting (like flush memory on oracle database ) THANX fenomen (2 Replies)
Discussion started by: fenomen
2 Replies
Login or Register to Ask a Question
dispatch(3)						   BSD Library Functions Manual 					       dispatch(3)

NAME
dispatch -- the dispatch framework SYNOPSIS
#include <dispatch/dispatch.h> DESCRIPTION
The dispatch framework allows blocks to be scheduled for asynchronous and concurrent execution via the core functions described in dispatch_async(3) and dispatch_apply(3). Dispatch queues are the basic units of organization of blocks. Several queues are created by default, and applications may create additional queues for their own use. See dispatch_queue_create(3) for more information. Dispatch groups allow applications to track the progress of blocks submitted to queues and take action when the blocks complete. See dispatch_group_create(3) for more information. The dispatch framework also provides functions to monitor underlying system events and automatically submit event handler blocks to dispatch queues. SEE ALSO
dispatch_after(3), dispatch_api(3), dispatch_apply(3), dispatch_async(3), dispatch_data_create(3), dispatch_group_create(3), dispatch_io_create(3), dispatch_io_read(3), dispatch_object(3), dispatch_once(3), dispatch_queue_create(3), dispatch_semaphore_create(3), dispatch_source_create(3), dispatch_time(3) Darwin May 1, 2009 Darwin