Thanks Colin! As I said, I knew there were better ways to do this. I was just re-using an old exec and just wondered how the queue functions were working. This is a MUCH better solution. Thanks again, Tim
________________________________ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Colin Allinson Sent: Tuesday, April 15, 2008 10:17 AM To: [email protected] Subject: Re: REXX Queue function Tim Joyce <[EMAIL PROTECTED]> wrote :- > I have a question about the QUEUE function in REXX. I created an exec that uses the QUEUE function to > XEDIT the operator log issue a "ALL / INVALID" and put the results into a file: > Queue "XEDIT "FN FT FM > Queue "ALL /INVALID" > Queue "SET SHADOW OFF" > Queue "PUT * = INVALID A1" > Queue "QQ" Why not try the simpler :- "PIPE <" Fn Ft Fm "| LOCATE /INVALID/ | >" fn "INVALID A1" Colin Allinson Amadeus Data Processing GmbH
