Mike:
Thanks for the response, but it was, indeed, a buffer problem.
-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Rydberg
Sent: Thursday, August 07, 2008 3:12 PM
To: [email protected]
Subject: Re: VM Read problem
David,
My guess would be that when you invoke RECEIVE it is clearing the
queued() output. On the next PULL you will get a VM READ since there in
nothing else queued() to read in your do queued() loop.
Try this..
'pipe cp Q RDR ALL FULL | stem recs. '
Do n=1 to recs.0
Parse var recs.n sender num . . recs copy hold date time name type .
...
end