beautypg.com

Qclose – Visara Master Console Center Scripting Guide User Manual

Page 163

background image

Chapter 5 Script Commands

Scripting Guide

163

QCLOSE

Syntax:

QCLOSE( %QueueID)

Description:

Closes a message queue.

Action:

Closes the specified queue in a script by removing the current message

pointer for the specified queue.

Parameters:

%QueueID. Numeric expression. The id of the queue to close.

Returns:

N/A.

Notes:

Use QCLOSE() only on queues that were opened with QOPEN().

Example:

QCLOSE( %QID)

See Also:

QOPEN, QREAD, QSKIP