Please enable JavaScript to view this site.

Navigation: Technical Information > Cobwebb APIs & Commands

WRKQPTY - Change Queue Entry Priority

Scroll Prev Top Next More

Allows a user to change the Priority of a Queue entry. If you change the priority of a Held message to either 1, 2 or 3 the message will be released. This is the same as entering 1=Select beside a message on the Cobwebb Queue and either changing the Priority or pressing F5=Release.

Command requires the original Queue Reference in the format S000846 or E003245 and a Priority 0 - 3 for the message..

Note: This command is only available from version 6.2 of the Cobwebb Server.

Example

  WRKQPTY QREF(E003253) QPTY(0)

Validation

The user needs to be authorised to the message on the queue - please see How the Queue Authority Works for details. Also the Queue Status [TQSTS] cannot be the following:

'R'  = Received, ‘S’ = Sent, 'A'  = Active,     'D' = Deleted or '*' = Locked:

Messages

Success


MSG0101

The priority for message &1 has been changed

Failure


FAX0011

Option not valid for queue entry

FAX0015

Not authorised to queue entry

FAX0031

Queue entry &1 locked or not found

MSG0043

Invalid priority for user - or priority is blank