PreviousNext
Help > Development > W-Language Functions for AS/400 > DataQueue functions > ASDataQueueReceive > Old syntax
Old syntax

 

result = ASDataQueueReceive(Definition, DataQueueName , Timeout, Remove, [, Connection], Param1 [, Param2, ... ] )

 

 

 

Result

boolean – true if success, false in case of failure

Definition

Multiline string which contains the PCML source corresponding to the data and key (see above example)

The syntax is the same syntax which is used for ASPgmCall

DataQueueName

String representing the dataqueue name.


Timeout

Timeout value in case of no data at the moment of the call. 0 for immediate answer.


Remove

Tell to remove or just read the dataqueue value.

Connection

Connection – connection name. Optional.

Param1

Data to receive the value.

Param2, …

Data to receive the value. Optional.