| 
 | 
Oh, yes!
        But now I have the following question: how can I use an optional 
parameter (11th) without use the 5 previus optional parameter? I try with *OMIT 
but this opcode is valid only in CALLB.
Thanks a lot
Fabrizio Gurrieri - BARTOLINI SPA
Via E.Mattei  42 - 40138 BOLOGNA (Italy)
Tel:+39 051 6015593 - Fax:+39 051 530365
E-Mail: Fabrizio.Gurrieri@bartolini.it
Internet: http://www.bartolini.it
-----Messaggio originale-----
Da: Brian Parkins [mailto:PARKIB@uk.ibm.com]
Inviato: giovedì 16 maggio 2002 20.45
A: rpg400-l@midrange.com
Oggetto: Re: DTAQ question....
The QRCVDTAQ API now has an optional 11th parameter:
Remove message INPUT; CHAR(10)
Whether the message is to be removed from the data queue when it is
received. Valid values are:
*YES The message is removed from the data queue. This is the default value
if this parameter is not specified.
*NO The message is not removed from the data queue.
Alternatively try using the QMHRDQM API which performs a non-destructive
message retrieval.
Both API's are documented in the OBJECT API'S section of the API Reference.
Brian Parkins
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.