You need to use the BUFFER option in EXECIO to increased the buffer size for CP responses. Maybe use the file count from 'CP Q FILES *' to calculate a buffer of sufficient size.
-----Original Message----- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Howard Rifkind Sent: Thursday, June 04, 2009 2:10 PM To: IBMVM@LISTSERV.UARK.EDU Subject: EXECIO COMMAND HELP Hello all, I need some help with the execio command. >From my console when I do a 'CP Q RDR * ALL' I get back 107 lines listed on the console, these are files for my user id and it looks correct. When I issue the command 'CP Q RDR ALL' I get all the files from everyone listed on my console and this to is correct. Listed are 775 files. The problem is when I have the following in my rexx exec I only get back 107 files listed. 'EXECIO * CP (STRING QUERY RDR ALL' MAXLINES = QUEUED() SAY MAXLINES ----> 107 Should be something line 775 There are no previous buffers allocated so I have no idea what's going here. I've tried just about everything but can't seem to retrieve the total number of line in the reader queue. Any help/ideas will be greatly appreciated. Thanks