If you run the query as a phantom then the output ends up in the _PH_
directory. If you EXECUTE the phantom command and capture the output
it'll give the name of the phantom file.

 

Ed

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Norman Bauer
Sent: 12 June 2009 14:22
To: U2 Users List
Subject: [U2] Send output from query to text file

 

A lot of the times I want to query UniVerse and capture that information
to a text file. I can send to an XML file no problem and sometimes that
is exactly what I want to do. However most of the time I just want to
view the info unformatted without screen scraping or copy and pasting
from Dynamic Connect. 

 

What I really want to do is:

 

SORT VOC \\server\fileshare\file.txt

 

Thanks,

 

Norm


-------------------------------------------------------------------------------------------
Please remember to recycle wherever possible. 
Reduce, reuse, recycle, think do you need to print this e-mail?
-------------------------------------------------------------------------------------------
This e-mail and any attachment(s), is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the 
addressee, dissemination, copying or use of this e-mail or any of its content 
is prohibited and may be unlawful. If you are not the intended recipient please 
inform the sender immediately and destroy the e-mail, any attachment(s) and any 
copies. All liability for viruses is excluded to the fullest extent permitted 
by law. It is your responsibility to scan or otherwise check this email and any 
attachment(s). Unless otherwise stated (i) views expressed in this message are 
those of the individual sender (ii) no contract may be construed by this 
e-mail. Emails may be monitored and you are taken to consent to this 
monitoring.  

Civica Services Limited, Company No. 02374268; Civica UK Limited, Company No. 
01628868
Both companies are registered in England and Wales and each has its registered 
office at 2 Burston Road, Putney, London, SW15 6AR.
-------------------------------------------------------------------------------------------

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to