Friday, May 01, 2009

Using QCLRDTAQ to clear data queues in CL and RPG

Heres an example of using QCLRDTAQ to clear an as400 dataqueue in RPG

C                     CALL 'QCLRDTAQ' 
C                     PARM           DQUE   10 
C                     PARM           DLIB   10


Heres an example of using QCLRDTAQ to clear an as400 dataqueue from the command line

CALL QCLRDTAQ MYQUEUE MYLIB


http://search400.techtarget.com/tip/0,289483,sid3_gci910672,00.html

More as400 dataqueue examples to follow

No comments:

Post a Comment