× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Here's some code in RPG to read a keyed dataq...

d $_DQName        s             10    inz('WIZ_COP')
d $_DQLib         s             10    inz('*LIBL')
d $_DQLen         s              5  0 inz(*Zero)
d $_DQData        s          32000    inz(*Blank)
d $_DQWait        s              5  0 inz(10)
d $_DQOrder       s              2    inz('EQ')
d $_DQKLen        s              3  0 inz(10)
d $_DQKey         s             10    inz('WIZ_COPI')
d $_DQSndLen      s              3  0 inz(44)
d $_DQSender      s             44

c                   call      'QRCVDTAQ'    WIZ_COP

c     WIZ_COP       plist
c                   parm                    $_DQName
c                   parm                    $_DQLib
c                   parm                    $_DQLen
c                   parm                    $_DQData
c                   parm                    $_DQWait
c                   parm                    $_DQOrder
c                   parm                    $_DQKLen
c                   parm                    $_DQKey
c                   parm                    $_DQSndLen
c                   parm                    $_DQSender



Ken Slaugh (707) 795-1512 x118
Chouinard & Myhre, Inc.
CA/400 Certified Specialist
iSeries Network/MSE Administrator
http://www.cm-inc.com/


                                                                                
                                
                      "Paramasivam                                              
                                
                      Murugesan , Gurgaon"        To:       
midrange-l@xxxxxxxxxxxx                             
                      <ParamasivamM@xxxxxx        cc:                           
                                
                      ltech.com>                  Subject:  Retrieval of Data Q 
entries Using the keys.         
                      Sent by:                                                  
                                
                      midrange-l-bounces@x                                      
                                
                      idrange.com                                               
                                
                                                                                
                                
                                                                                
                                
                      07/04/2003 05:28 AM                                       
                                
                      Please respond to                                         
                                
                      Midrange Systems                                          
                                
                      Technical Discussion                                      
                                
                                                                                
                                
                                                                                
                                




Hi all,

How to retrieve the data queue entries using the key? Any idea or any
material which would enlighten me on this..:)

I tried in the API programming manual published by IBM, but could not find
the soln.

thanks.
Murugesh


_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.







As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.