IDMS QUEUE statement: THRESHOLD and UPPER LIMIT
search cancel

IDMS QUEUE statement: THRESHOLD and UPPER LIMIT

book

Article ID: 13244

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

In the IDMS QUEUE statement, what does the THRESHOLD parameter in the QUEUE do? What happens if it gets exceeded?

What about UPPER LIMIT? What happens if this is exceeded?

Environment

Release: All supported releases.

Resolution

The THRESHOLD is the number of records written to the queue before the task is invoked. When the threshold is reached, the specified task code will be invoked. Depending on what the task does, the count will go down (typically the invoked task reads the queue and deletes the queue records as they are processed).

The UPPER LIMIT is the maximum record count (that is, the maximum number of entries permitted in the queue; if 0, no limit exists). When the number of entries in a queue reaches a specified upper limit, the DC/UCF will not permit further entries to be directed to the queue. The transaction will usually receive a 4407 error.