A job to do this: !JOB S987,user/pw.acct;OUTCLASS=,1 !CONTINUE !PURGE S987A !FILE QSLIST=S987A,NEW;DEV=DISC !CONTINUE !RUN QUERY/lockword.PUB.SYS B=db pw 1 S=dataset O=LP F fieldname1=951213 AND & fieldname2=950129 AND & fieldname3=OA AND & fieldname4=373981876 R D1,fieldname1,10 D1,fieldname2,26 END DELETE Y E !eoj "Connie Sellitto" <[log in to unmask]> wrote in message news:aeaj5v01pq7@enews2.newsguy.com... > Hello Listers, > Can anyone suggest a script to redirect the output of a QUERYNM report to a > file, rather than printed or STDLIST output? Perhaps with a back-reference > to QSLIST? (Using MPEiX 5.5 PP7) > > I want to run a job and have the output emailed to an individual as an > attachment using Telamon's MAIL program - have that part set up & working; > just need to have QUERYNM create the file. > > Thanks! > Connie > > Connie Sellitto > Cat Fanciers' Association, Inc. > World's Largest Registry of Pedigreed Cats > > * To join/leave the list, search archives, change list settings, * > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html * > * To join/leave the list, search archives, change list settings, * * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *