Thomas,
It would help an awful lot if you provided actual code that we can load 
and run to try it for you.  Something simple, since we don't want to 
spend hours or days setting up an environment.
When you post snippets, the best we can do is TRY to see some flaw in 
them, since we can't actually compile or run the code.  And we have to 
mentally fill in all of the details you've left out, or ask for more 
information (which takes both more of my time, and more of your time 
waiting for a solution).
In this case, I looked at your D-specs, and immediately said "these 
aren't his real D-specs".   How do I know that?  because they're not 
legal syntax.  They say "CONST" on them, which isn't allowed for a 
standalone def in RPG.
Furthermore, we don't know what values are in these fields at the time 
the CALL is run, so we have to guess.
Can you please post a short/simple program that demonstrates the 
problem?  Thank you.
Thomas Garvey wrote:
Sorry, I left out the defs for the parameters...
d QueueName       s             10a    const
d QueueLibrary    s             10a    const
d DataQueueData   s           4296a    const
Data block for DTAQ 
d DataQueueLen    s              5p 0  const
Data block for DTAQ 
 
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.