Job Management Partner 1/Automatic Job Management System 3 Command Reference 2
Format
jpqquedel
[-mh manager-host-name]
-q queue-name
Description
Deletes queues.
To execute this command, a user must have the JP1_JPQ_Admin privilege.
Execution privileges
You must have the following JP1 privilege:
- JP1_JPQ_Admin privilege
Arguments
-mh manager-host-name
Specify the name of a manager host from which you want to delete the queue.
You can specify a character string of 1 to 255 bytes.
By default, the system assumes the local host name.
-q queue-name
Specify the queue name you want to delete.
You can specify a character string of 1 to 63 bytes.
Notes
- During linkage with JP1/NQSEXEC and JP1/OJE for VOS3, you cannot use this command for JP1/NQSEXEC queues and JP1/OJE for VOS3 queues.
- Before executing this command, use the jpqqueclose command to close the job reception port for the queue you want to delete, so that the system will not accept new jobs. Confirm that the jobs in the queues have been executed.
You cannot delete the queue if it has a job that is being executed, assuming that the job is a standard job (PC, UNIX, or QUEUE), custom job, or action job.
If you delete the queue, the jobs to be deleted, those being held, and those waiting within it are cancelled.
Return values
0 Normal end 1 Invalid parameter value 2 The queue could not be deleted successfully owing to an internal cause of the requester. 5 Initialization has failed.
- The definition of the logical host name or the environment setting contains an error.
6 Queue deleting requester's insufficient memory 7 The queue deleting requester encountered a logic error. 100 The manager host cannot be connected for TCP/IP communication.
- As TCP/IP is not validly set, the manager host cannot be connected.
- The manager host name is invalid, or the manager host process stopped.
102 The IP address could not be solved successfully by the manager host name. 200 The manager host does not accept a queue deleting request.
- The manager host is now being started, now being stopped, has stopped, or is running in the reduced-operation mode.
201 You cannot use a specified queue.
- The specified queue is not found.
202 No response from the manager host 203 The queue could not be deleted successfully owing to an internal cause of the manager host. 206 You do not have the privilege required to delete the queue. 219 The manager host is busy. 220 Insufficient manager host memory 222 A fatal error has occurred.
- A system call error has occurred.
223 The manager host encountered a logic error. 224 You have issued a request to a host other than JP1/AJS3. 226 Invalid execution environment 233 There are jobs being executed (which are standard jobs, custom jobs, or action jobs).
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.