ZCOM C I/F Library Routines

ZLTQUEUE (3X)

Appln

Appl

 

Queue

 

n

Appln

 

Progra

Queue

Returned

Nmb

Label

m

No.

 

r

 

 

 

 

 

 

F

30

USAGE

4

<-- same appln, diff usage

 

 

3

 

 

G

30

USAGE

error

<-- no more queues for apln

 

 

4

 

30

Queues 1, 3, and 4 are allocated for application 30, and queue 2 is allocated for global usage in program B. Thus, because there is a current limit of four queues, an error is returned to program G when it attempts to allocate another queue to application 30.

RETURN VALUE Routine zltqueue returns 0 if successful. Otherwise, a non-zeroerror code is returned. See /opt/acc/include/zcom/zcomsys.h for the list of ZCOM error codes and their meanings.

250

Chapter 4