Colin Allinson <[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" 

Before anyone else corrects me, I will point out there is a subtle 
difference. Your XEDIT solution will append to the INVALID file if it 
exists whereas the PIPE, as specified, will not. If that is what you 
really want then you should amend the PIPE to use the ">>" output stage.

Colin Allinson

Amadeus Data Processing GmbH

Reply via email to