PreviousNext
Help > Development > W-Language Functions for AS/400 > DataQueue functions > ASDataQueueReceive > Example with the old syntax
Example with the old syntax


sdq_pcml
is string =

<pcml version="4.0">  

<program name="TESTDQ" > 

<data name="data" type="char" length="50" usage="input"/> 

</program> 

</pcml>

]

 

 

IF NOT ASDataQueueReceive(sdq_pcml, "*LIBL/DTAQ_FIFO", 2, True , cnxConnection, data_read) THEN

 Info("Data Queue vide!")

END