![]() Chapter Contents |
![]() Previous |
![]() Next |
| QUEUE_SETHDR |
| Syntax | |
| QUEUE_SETHDR Example |
Syntax |
| CALL QUEUE_SETHDR(queueId, desc, respQ, datetime, corr, rc); |
| Where... | Is type... | And represents... |
|---|---|---|
| queueId | N | queue identifier |
| desc | C | user-specified description |
| respQ | C | user-specified response queue's name |
| datetime | N | datetime time-out value (currently unsupported, value will be ignored) |
| corr | N | user-specified correlation value |
| rc | N | return code |
The queueId parameter identifies the queue.
The desc parameter is user-supplied, descriptive text.
The respQ parameter is the user-supplied response queue name.
The datetime parameter is a time-out date-time stamp. However, this parameter is not supported at this time and should be set to 0.
The corr parameter is the user-specified correlator value.
If an error occurs, rc is updated and returned as a non-zero value. Use the SYSMSG() function to print the message that is associated with the non-zero rc.
| QUEUE_SETHDR Example |
This example defines the header information to be included with the queue that is identified by queueId. Only the description and response queue name are specified.
desc = "Information concerning
employee database.";
resp = "Example Queue";
dt = 0;
corr = 0;
call queue_sethdr(queueId, desc,resp, dt, corr,rc);
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.