× 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.


  • Subject: Re: API - how to handle unknown receiver variable size
  • From: "David Prowak" <prowakd@xxxxxxx>
  • Date: Tue, 2 Feb 1999 13:17:50 -0500

Bruce,
I'm looking for a generalized approach for any old *DTAQ.  I'm developing
in
RPG IV and my *DTAQ in this case is non-keyed.  I'm looking to minimize 
development time where possible.  Most specifically, I'm not sure how to
code
the receiver variable using format RQDM0100 of the QMHRDQM API.  
The last few fields in RDQM0100 are repeated for each message retrieved.  
Do I define the receiver variable as VARYING?  What's the most efficient 
way (by the above definition) to get the text of each message?  

I want to build a subfile displaying the *DTAQ's contents before that data
is processed.

TIA,
Dave  

----------
> From: bvining@VNET.IBM.COM
> To: MIDRANGE-L@midrange.com
> Subject: API - how to handle unknown receiver variable size
> Date: Tuesday, February 02, 1999 12:15 PM
> 
> Dave,
> 
> Are you looking for a generalized approach to handle any old *DTAQ
> or an approach best suited for a particular type of *DTAQ (here I'm
> thinking of keyed vs non-keyed; and if keyed with or without unique key
> values).  Are you looking for an approach that minimizes development
> time or minimizes storage allocation on the system?  And last but not
least,
> what language are you developing in as that may cause some options to be
> not applicable/suitable.
> 
> I started replying to your request with an overview of the options and
> decided after way too many paragraphs that I should ask for a bit more
> information on what you are looking for.
> 
> Thanks,
> Bruce Vining
> 
> >
> >Hi,
> >I am trying to use the QMHRDQM API, which retrieves the messages in a
data
> >queue without deleting the messages from the queue.
> >
> >I am using RDQM0100 for the record format of the receiver variable.
> >What is the preferred method for defining the receiver variables length?
> >(Several fields within format RDQM0100 are repeated for each message
> >retrieved.)
> >
> >TIA,
> >Dave
> >
> 
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.