On Tue, May 20, 2008 at 3:17 PM, Richard Corak <[EMAIL PROTECTED]> wrote:

> Since one might have as many as 9999 RDR files,
> this EXEC could be inadequate to retrieve everything.
> Consider a QUERY FILES first.  Even though the output
> from QUERY RDR isn't 100 bytes, I use the extra size
> for self-defense.

For CP QUERY commands, CMS Pipelines has the strategy to extend the
buffer automagically when the response does not fit, and repeat the
query until it worked. That mechanism is disabled when you specify a
buffer size yourself.
The lines don't really get longer, but you could end up with more
spool files than when you issued the first query. You might want to
connect the secondary output of the stage to see whether the response
is incomplete.

With the Q FILES in your code, a class D user would be on the very
safe side... :-)

Rob

PS The automatic extending of the buffer only works for QUERY
commands. I wasted a long evening when part of the output of a DISPLAY
was disappearing...

Reply via email to